From "man 1p grep": -x Consider only input lines that use all characters in the line excluding the terminating <newline> to match an entire fixed string or regular expression to be matching lines. -x is specified by POSIX. Please add support.
Fixed in git: commit cd09e81520b7917adebcffd7c361671f913325eb Author: Natanael Copa <ncopa@alpinelinux.org> Date: Thu Feb 23 14:20:22 2012 +0000 grep: support for -x, match whole line