Stefano Zacchiroli wrote: > > $ D="$(zgrep "^ -- " /usr/share/doc/apt/changelog.Debian.gz | \ > > > head -1 | sed "s/^.*> //")" > > $ date -uRd "$D" > > "Trivial" is something I can do without having the need of thinking > about an implementation of it. I guess you spent a couple of minutes > writing the above shell script snippet.
I dunno, the fact that I came up with a different implementation as fast as I could type it suggests it's pretty trivial: perl -MDate::Parse -le 'print scalar gmtime str2time shift' -- see shy jo
signature.asc
Description: Digital signature