Just noticed grep 2.5 is out.
2 new cool options are:
--only-matching #only print matching part of line
--color #color matching part of line
However I've managed to get grep into an
infinite loop with these options, so be wary.
Hmm, I'm wondering also whether --only-matching
is useful, or in fact grep is useful. Isn't
sed a generalisation of grep?
Padraig.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!