Quoting Simone Rossetto <[email protected]>:
Non credo che con grep tu possa ottenere quello che ti serve perché il grep
restituisce in output l'intera riga in cui si è verificato il match, ossia
se anche fai il match lazy (come giustamente suggerito da Gian Uberto)
l'output è comunque tutta la riga.
man grep
[...]
-o, --only-matching
Print only the matched (non-empty) parts of a matching
line, with each such part on a separate output line.
Mandi.
Paolo
----------------------------------------------------------------------
SEMEL (SErvizio di Messaging ELettronico) - AINF, Universita' di Udine
--
Per REVOCARE l'iscrizione alla lista, inviare un email a
[email protected] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [email protected]
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive:
https://lists.debian.org/[email protected]