All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pádraig Brady" <P@draigBrady.com>
To: Tommi Kyntola <tommi.kyntola@gmail.com>
Cc: Sami Kerola <kerolasa@gmail.com>, util-linux-ng@vger.kernel.org
Subject: Re: [RFC/PATCH] week numbers for cal
Date: Mon, 07 Oct 2013 18:06:43 +0100	[thread overview]
Message-ID: <5252EA23.4080508@draigBrady.com> (raw)
In-Reply-To: <CAO2cUkQuNiHwdmxACq1i1W8ix1teVvtUi9McPtksRrFC-M7F3g@mail.gmail.com>

On 10/07/2013 12:39 PM, Tommi Kyntola wrote:
> Why not. I wasn't sure what exactly should be done with 52 when many
> years have days belonging to two different 52 weeks, but I came up
> with a spec that says it points to the week that starts during the
> relevant year.
> 
> A patch in guthub:
> https://github.com/Kynde/util-linux/commit/3a53abddc14f46eccb4264668b24875054f5ba62

It's generally best to avoid optional args on short args,
as in this case -w3 is ambiguous and -wj is problematic.
So I'd instead support an interface like -w,--week[=NUM]

thanks,
Pádraig.


  reply	other threads:[~2013-10-07 17:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-05 20:59 [RFC/PATCH] week numbers for cal Tommi Kyntola
2013-10-06 15:29 ` Sami Kerola
2013-10-06 17:23   ` Tommi Kyntola
2013-10-06 18:38     ` Benno Schulenberg
2013-10-07  3:10     ` Pádraig Brady
2013-10-07 11:39       ` Tommi Kyntola
2013-10-07 17:06         ` Pádraig Brady [this message]
2013-10-07 17:59           ` Tommi Kyntola
2013-10-07 23:33             ` Pádraig Brady
2013-10-09  9:43 ` Karel Zak
2013-10-22 10:32 ` Karel Zak
2013-10-22 15:23   ` Sami Kerola
2013-10-22 15:55     ` Karel Zak
2013-10-23  6:56   ` Tommi Kyntola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5252EA23.4080508@draigBrady.com \
    --to=p@draigbrady.com \
    --cc=kerolasa@gmail.com \
    --cc=tommi.kyntola@gmail.com \
    --cc=util-linux-ng@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.