in reply to pattern match -vs- *ix grep
Having said that, I would just write it as:
But that's still significant longer than:perl -ne 'BEGIN {$p = shift} print if /$p/' PATTERN files ...
grep PATTERN files ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: pattern match -vs- *ix grep
by ministry (Scribe) on Apr 07, 2005 at 15:01 UTC |