grep syntax issue on Lion

view full story

http://serverfault.com – I have a text file and looking for the single line bird. Using OS X Lion and grep 2.5.1. this works: grep '^bird' file.txt but this doesn't grep '^bird$' file.txt There is not a blank space at the end of the line. What am I doing wrong? thx (HowTos)