[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils-bug
Subject:    bug#7444: Undocumented option -I ?
From:       Eric Blake <eblake () redhat ! com>
Date:       2010-11-19 15:09:03
Message-ID: 4CE6930F.3010405 () redhat ! com
[Download RAW message or body]


On 11/19/2010 06:52 AM, hubert depesz lubaczewski wrote:
> Hi,
> apparently
> (http://www.commandlinefu.com/commands/view/7110/monitor-a-file-with-tail-with-timestamps-added)
> date supports -I switch, but it's undocumented.
> 
> I found it in sources, and it seems to be related to iso format, but
> still - adding it to documentation would be nice.

Yes, -I is a synonym for --iso-8601, but both options were deprecated in
2005 by commit 2c29ba03 (and hence undocumented).  One real fix would be
to start making this option output a warning, so that we can delete it.

http://lists.gnu.org/archive/html/bug-coreutils/2005-09/msg00056.html
http://lists.gnu.org/archive/html/bug-coreutils/2005-07/msg00186.html

Another would be to teach getdate.y how to parse 'T' as the separator
between date and time, so that we could reinstate the option (it was
deprecated because we feel badly about supporting an output format that
we can't reparse as an input format).

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic