problems with the "%h" flag to the "date" command

Christopher Faylor cgf@redhat.com
Wed Jan 15 09:58:00 GMT 2003


On Tue, Jan 14, 2003 at 08:37:54PM -0800, David A.  Case wrote:
>Several of my scripts are failing because "date" doesn't seem to properly
>recognize the "%h" flag.  According to the docs:
>
>% man date
>
>NAME
>       date - print or set the system date and time
>..
>
>       %b     locale's abbreviated month name (Jan..Dec)
>..
>       %h     same as %b
>..

Apparently newlib isn't implementing the '%h' option in its version of
strftime.  I'll submit a patch to newlib.

I'll also implement '%l' and '%k' while I'm at it.

A fix for this will be in 1.3.19, coming soon, to a...

No wait a minute, I forgot I was going to be mean and hold onto 1.3.19
for a while...

Bwaha, etc.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list