in reply to Extracting Pattern Match from log
...foolish mortal Perl Monks ... ;) If you like sed, here's a way to do it, for TIMTOWTDI:
$ sed -n 's/^.*450 <\([^>]*\)>.*$/\1/p' /var/log/mail/info
Not that it's faster, but it's different :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Extracting Pattern Match from log
by Fletch (Bishop) on Jan 28, 2004 at 14:43 UTC |