> la stringa che estrapolo con grep è la seguente:
>
> Timestamp: Sun Oct 11 17:06:14 2009
> date mi consente di modificare il formato di una data passatagli come
stringa?
Ad esempio...
$ date --date="Sun Oct 11 17:06:14 2009" +"%Y-%m-%d %H:%M:%S"
2009-10-11 17:06:14
> non ho trovato nulla nel man a riguardo e neppure su google...
$ man date
[...]
SYNOPSIS
date [OPTION]... [+FORMAT]
[...]
-d, --date=STRING
display time described by STRING, not `now'
[...]
FORMAT controls the output. Interpreted sequences are:
[...]
Io direi che c'e` tutto...
Buon anno a tutti!
Marco
--
http://bodrato.it/papers/
--
http://bodrato.it/
--
http://bodrato.it/
--
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]