GNU bug report logs -
#7444
Undocumented option -I ?
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7444 in the body.
You can then email your comments to 7444 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org
:
bug#7444
; Package
coreutils
.
(Fri, 19 Nov 2010 14:02:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
depesz <at> depesz.com
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Fri, 19 Nov 2010 14:02:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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.
Best regards,
depesz
--
Linkedin: http://www.linkedin.com/in/depesz / blog: http://www.depesz.com/
jid/gtalk: depesz <at> depesz.com / aim:depeszhdl / skype:depesz_hdl / gg:6749007
Information forwarded
to
owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org
:
bug#7444
; Package
coreutils
.
(Fri, 19 Nov 2010 15:04:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 7444 <at> debbugs.gnu.org (full text, mbox):
[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)]
Reply sent
to
Jim Meyering <jim <at> meyering.net>
:
You have taken responsibility.
(Fri, 28 Oct 2011 15:46:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
depesz <at> depesz.com
:
bug acknowledged by developer.
(Fri, 28 Oct 2011 15:46:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 7444-done <at> debbugs.gnu.org (full text, mbox):
Jim Meyering wrote:
> Now that date can finally parse the output of date --iso-8601 (-I),
> it's only fair to un-deprecate it and restore its documentation:
>
> Subject: [PATCH] date: reinstate the --iso-8601 (-I) option
>
> We deprecated and undocumented the --iso-8601 (-I) option mostly
> because date could not parse that particular format. Now that
> it can, it's time to restore the documentation.
> * src/date.c (usage): Document it.
> * doc/coreutils.texi (Options for date): Reinstate documentation.
> Reported by Hubert Depesz Lubaczewski in http://bugs.gnu.org/7444.
Pushed, hence closing this.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 26 Nov 2011 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 148 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.