GNU bug report logs - #7444
Undocumented option -I ?

Previous Next

Package: coreutils;

Reported by: depesz <at> depesz.com

Date: Fri, 19 Nov 2010 14:02:02 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 7444 <at> debbugs.gnu.org (full text, mbox):

From: Eric Blake <eblake <at> redhat.com>
To: depesz <at> depesz.com
Cc: 7444 <at> debbugs.gnu.org
Subject: Re: bug#7444: Undocumented option -I ?
Date: Fri, 19 Nov 2010 08:09:03 -0700
[Message part 1 (text/plain, inline)]
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 <at> redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 13 years and 212 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.