This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]