GNU bug report logs - #14535
Wishlist: date(1): missing search keyword (UTC)

Previous Next

Package: coreutils;

Reported by: Andreas Mohr <andi <at> lisas.de>

Date: Sun, 2 Jun 2013 18:19:02 UTC

Severity: wishlist

Done: Pádraig Brady <P <at> draigBrady.com>

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 14535 in the body.
You can then email your comments to 14535 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#14535; Package coreutils. (Sun, 02 Jun 2013 18:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Mohr <andi <at> lisas.de>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sun, 02 Jun 2013 18:19:02 GMT) Full text and rfc822 format available.

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

From: Andreas Mohr <andi <at> lisas.de>
To: bug-coreutils <at> gnu.org
Subject: Wishlist: date(1): missing search keyword (UTC)
Date: Sun, 2 Jun 2013 13:21:27 +0200
Hi,

just did man date, searched for "UTC" yet failed to hit the desired
-u (--utc) section (IOW, a somewhat annoying productivity roadbump).

Thus it would be useful to extend
       -u, --utc, --universal
              print or set Coordinated Universal Time
to
       -u, --utc, --universal
              print or set Coordinated Universal Time (UTC)

in order to avoid dearly wasted seconds of a many users' lifetime :)


I would have submitted a format-patch vs. master, but due to the confusing
(but likely useful) indirection in source I failed to successfully grep
on where to change things (likely in src/date.c/usage() since that output
possibly gets auto-generated into man pages,
but perhaps somewhere else as well).

Thanks!

Andreas Mohr




Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Sun, 02 Jun 2013 23:50:02 GMT) Full text and rfc822 format available.

Notification sent to Andreas Mohr <andi <at> lisas.de>:
bug acknowledged by developer. (Sun, 02 Jun 2013 23:50:02 GMT) Full text and rfc822 format available.

Message #10 received at 14535-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Andreas Mohr <andi <at> lisas.de>
Cc: 14535-done <at> debbugs.gnu.org
Subject: Re: bug#14535: Wishlist: date(1): missing search keyword (UTC)
Date: Mon, 03 Jun 2013 00:47:33 +0100
On 06/02/2013 12:21 PM, Andreas Mohr wrote:
> Hi,
> 
> just did man date, searched for "UTC" yet failed to hit the desired
> -u (--utc) section (IOW, a somewhat annoying productivity roadbump).
> 
> Thus it would be useful to extend
>        -u, --utc, --universal
>               print or set Coordinated Universal Time
> to
>        -u, --utc, --universal
>               print or set Coordinated Universal Time (UTC)
> 
> in order to avoid dearly wasted seconds of a many users' lifetime :)
> 
> 
> I would have submitted a format-patch vs. master, but due to the confusing
> (but likely useful) indirection in source I failed to successfully grep
> on where to change things (likely in src/date.c/usage() since that output
> possibly gets auto-generated into man pages,
> but perhaps somewhere else as well).

Yes that's a bit better and fits in the line,
so I've pushed that in your name.

Note personally I use "smartcase" matching,
and so usually search for lower case to match case insensitively.
I use vim as my MANPAGER, but you can also use this with less
by setting 'i' in your LESS env variable.

cheers,
Pádraig.





Information forwarded to bug-coreutils <at> gnu.org:
bug#14535; Package coreutils. (Mon, 03 Jun 2013 06:56:02 GMT) Full text and rfc822 format available.

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

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: 14535 <at> debbugs.gnu.org, P <at> draigBrady.com, andi <at> lisas.de
Subject: Re: bug#14535: Wishlist: date(1): missing search keyword (UTC)
Date: Mon, 03 Jun 2013 08:53:21 +0200
On 06/03/2013 01:47 AM, Pádraig Brady wrote:
> Yes that's a bit better and fits in the line,
> so I've pushed that in your name.

Thanks.

Usually, we're mentioning the bug in the commit, don't we?
Well, this one was reported as a wishlist bug, together with
the solution, and it was trivially enough, so I think it's
okay.

Have a nice day,
Berny




Information forwarded to bug-coreutils <at> gnu.org:
bug#14535; Package coreutils. (Mon, 03 Jun 2013 08:31:02 GMT) Full text and rfc822 format available.

Message #16 received at 14535-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Mohr <andi <at> lisas.de>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 14535-done <at> debbugs.gnu.org, Andreas Mohr <andi <at> lisas.de>
Subject: Re: bug#14535: Wishlist: date(1): missing search keyword (UTC)
Date: Mon, 3 Jun 2013 10:28:42 +0200
Hi,

On Mon, Jun 03, 2013 at 12:47:33AM +0100, Pádraig Brady wrote:
> On 06/02/2013 12:21 PM, Andreas Mohr wrote:
> > I would have submitted a format-patch vs. master, but due to the confusing
> > (but likely useful) indirection in source I failed to successfully grep
> > on where to change things (likely in src/date.c/usage() since that output
> > possibly gets auto-generated into man pages,
> > but perhaps somewhere else as well).
> 
> Yes that's a bit better and fits in the line,
> so I've pushed that in your name.

Wow, didn't expect it to be fixed directly, thanks!
(referencing the bug# seems valuable though)

> Note personally I use "smartcase" matching,
> and so usually search for lower case to match case insensitively.
> I use vim as my MANPAGER, but you can also use this with less
> by setting 'i' in your LESS env variable.

Something to be done on my local setups indeed.
But of course "if I had done everything correctly"
I wouldn't have been able to submit this "bug" ;)

Andreas Mohr




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 01 Jul 2013 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 351 days ago.

Previous Next


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