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] |
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 .. But here is my experience: % date +%d%b%y 14Jan03 % date +%d%h%y 1403 The "%h" argument works as advertised on RedHat Linux, and on several Unices. So, this has the earmarks of a cygwin-specific problem. I could not find any mention of this at the FAQ or mailing lists. My cygwin installation (Windows XP Pro) is no more than a few days old (cygcheck output attached...) There is an obvious work-around, but not one that I can see that avoids propagating changes (%h -> %b) back to Unix origins of a reasonably large number of scripts. ..thanks!...dave case
Attachment:
cygcheck.out
Description: Text document
-- 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] |