in reply to Grep'ping on Unix without perl-compatible gnu grep - can you do it better?
I'd do it like this:
$ grep -E '^[^#]*foo' boom now is the foo for all $ cat boom now is the foo for all now # foo is the blarg
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Grep'ping on Unix without perl-compatible gnu grep - can you do it better?
by Anonymous Monk on Feb 01, 2013 at 07:13 UTC | |
by parv (Parson) on Feb 01, 2013 at 07:37 UTC |