Sep 29, 2007
grep vs 'grep -E'
Well this might seem blindingly obvious to some, but I was stumped for half an hour this morning trying to figure out why 'grep he+' wasn't finding the word 'hello' in a test file when it was obviously there. The answer was that I should have read the manpage very carefully. The all-important paragraph reads as follows:
Posted at 00:32 |
Comments(0) |
Permalink |
Trackbacks(0) |
Tags: grep, regex |
add to del.icio.us
All content is Copyright © 2007 Jamie Bullock except comments, Copyright © 2007 respective authors.

