On Sun, Mar 15, 2009 at 11:20 AM, Steven W. Orr ste...@syslang.net wrote:
... all manner of external tools, sed, awk,
perl, cut, ad nauseum. Just use bash.
Well, this is on MS-Windows. bash is as external as sed, awk, etc., are. :)
That said, more techniques are always good to offer.
On Sun, 2009-03-15 at 11:20 -0400, Steven W. Orr wrote:
So I figured it'd be a better job for grep,
=however It appears that it's printing the entire matching line and I
=only want the match on the pattern to display.
=
grep should have a -o option to only output the match
--
Lloyd Kvam
On Sun, Mar 15, 2009 at 6:38 PM, Lloyd Kvam pyt...@venix.com wrote:
grep should have a -o option to only output the match
That was brought up -- and useful it is -- but it has problems when
you only want to see the match but your target pattern has to include
delimiters.
For those so