Hello,
I've seen this request ocasionally appear in archive of this list (and
sh-utils before). The FreeBSD's date has such option:
-r seconds
Print the date and time represented by seconds, where seconds is
the number of seconds since the Epoch (00:00:00 UTC, January 1,
1970; see time(3)), and can be specified in decimal, octal, or
hex.
Wouldn't you mind adding such option (although not -r, because it's already
used) to GNU date too? The usually mentioned way:
date -d '1970-1-1 UTC <number> seconds'
is an ugly workaround to get the requested result...
--
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Chernobyl was an Windows 95 beta test site.
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils