Displaying only data matching a pattern?
Lloyd Kvam
python at venix.com
Sun Mar 15 18:38:14 EDT 2009
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
Venix Corp
DLSLUG/GNHLUG library
http://dlslug.org/library.html
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
http://www.librarything.com/rss/recent/dlslug
More information about the gnhlug-discuss
mailing list