[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Data has undocumented '@' function
From: |
Eric Blake |
Subject: |
Re: Data has undocumented '@' function |
Date: |
Fri, 16 May 2008 08:02:09 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Roberto Sarrionandia on 5/16/2008 7:40 AM:
| Tested on version 6.10-3ubuntu2
You may want to consider upgrading; the latest stable release is 6.11.
|
| Date accepts the parameter @ followed by a UNIX timestamp
|
| $ date -d @1210937386
| Fri May 16 13:29:46 CEST 2008
|
| But this isn't mentioned in the man page.
Thanks for the report. But this is intentional. There are far too many
valid date strings to document the entire date parser in the 'date --help'
output, and the man page is merely generated from the --help output;
rather, the info page is the complete documentation, and it mentions the @
syntax. Try 'info corutils "date input"' for more details.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkgtk+EACgkQ84KuGfSFAYCemACaApszMSaH4ASWlHfVfvWXFTNC
eggAoM0ObtDksVkCV+FLKF9BaLDgEcSh
=MfJz
-----END PGP SIGNATURE-----