in reply to Re: pattern match -vs- *ix grep
in thread pattern match -vs- *ix grep

Very impressive!
All these one-liners and code snippets do a very good job. When using 'time' to check for speed they all seem to be relatively close as I perfmorm my searching through large files. However (just as everyone has been saying) you just cant beat a general purpose tool like /bin/grep for a simple search - there has been a distinct difference in search times (in particular, as the file searches get larger). I guess now Im going to resort to *dazzling* everyone here at work with my fancy perl regex search strings, multi-file searches,etc... :)
cheers, ev

Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.