bug#8782: date command

2011-06-02 Thread Pádraig Brady
On 02/06/11 00:39, Jesse Gordon wrote: > > > On 6/1/2011 4:12 PM, Pádraig Brady wrote: >> On 01/06/11 18:11, Rick Stanley wrote: >>> The date command is very useful. A lot of features and options which I >>> take advantage of as I need them. Every once in a while I need to use >>> the command t

bug#8782: date command

2011-06-02 Thread Jim Meyering
Pádraig Brady wrote: ... >> Jumpin' whale gills! > > Well when you put it like that :) Heh ;-) I had the same reaction. >> I wish I'd known about the -d @ function! I ended >> up writing my own in Perl utility just to convert epochs to dates. >> >> I'm with Rick on this one. Date supports so man

bug#7241: closed (Re: bug#7241: Possible bug on split ?)

2011-06-02 Thread Ulf Zibis
Am 01.06.2011 21:30, schrieb Jim Meyering: Ulf Zibis wrote: You could write: `-b SIZE' `--bytes=SIZE' Put SIZE bytes of INPUT into each output file. SIZE may be, or may be an integer optionally followed by, one of the following multiplicative suffixes: `b' =>

bug#8782: date command

2011-06-02 Thread Pádraig Brady
I'm going with these 3. It's a bit tricky to align --help and man output, but this isn't too bad I think. cheers, Pádraig. >From 9a7a5d114388342a86f7dc9ade7f69b70624e3fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= Date: Thu, 2 Jun 2011 13:00:18 +0100 Subject: [PATCH] doc: add

bug#8782: date command

2011-06-02 Thread Jim Meyering
Pádraig Brady wrote: > I'm going with these 3. > It's a bit tricky to align --help and man output, > but this isn't too bad I think. Thanks. > Subject: [PATCH] doc: add examples to date --help > > * src/date.c (usage): Add examples for TZ handling, > and "seconds since epoch" parsing, neither of

bug#8782: date command

2011-06-02 Thread James Youngman
On Thu, Jun 2, 2011 at 10:11 AM, Jim Meyering wrote: > Pádraig Brady wrote: >> OK how about I put the last 3 or 4 examples from >> http://www.pixelbeat.org/cmdline.html#dates >> in an EXAMPLE section in the man page. > > Good examples. > I like the idea. One tweak: use date -d "12:00 +1 day" inst