lundi 18 mai 2009

Grep with option -o

I have discovered a new option today of grep command which is -o
the standard use of grep returns the hole line in a file with correponds to the the pattern.
with -o , grep returns only the matching pattern


1 commentaire: