Originally reported in Debian, http://bugs.debian.org/695862 against busybox 1.20: $ echo foop | grep -w foo $ echo foop | busybox grep -w foo $ echo foop | fgrep -w foo $ echo foop | busybox fgrep -w foo foop So, busybox grep handles -w correctly, while busybox Fgrep does not.
Fixed in git: commit 2f5b5beb28a3ffe9d12a19b79c453c640cee2f29 Author: Denys Vlasenko <vda.linux@googlemail.com> Date: Sun Jan 20 16:57:19 2013 +0100 grep: fix grep -Fw not respecting the -w option