Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use "grep -w foo" (or something like "grep '\<foo\>'"), because when I look for "foo" I don't want "bazfoobar". grep -w only works because the end of words is signaled in-band (surrounding / terminating words with whitespace).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: