>puoi usare le back-reference
>
>
>$ echo '2009-02-28 00:00:00' | sed
's/\([0-9]\{4\}\)-\([0-9]\{2\}\)-\([0-9]\{2\}\) 00:00:00/\1\2\3/'
>20090228
>
perfetto!!
>
>in pratica metti tra parentesi tonda ogni
"gruppo" che vuoi isolare, e poi lo richiami con \1 \2 ... nell'ordine
>
>
>ti consiglio un bel tutorial sull'argomento
>http://www.grymoire.
com/Unix/Sed.html
Ottimo, grazie.
--
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]