Re: changed behaviour in date command

2008-08-12 Thread Nicholas Volk
Hi Brian, Thanks for the reply. I'll switch to %H. My mistake. br, Nicholas Nicholas Volk wrote: After I updated cygwin today (bash updated) this no longer works as such, because the behaviour of %k has changed: instead of the usual 07 I now get 7. Is this intentional? At least in my

changed behaviour in date command

2008-08-11 Thread Nicholas Volk
Hi all, I have used script to pach a group of files. The relevant command in the script has been tar -jcvf api-`date '+%Y%m%d%k%M'`.tbz files After I updated cygwin today (bash updated) this no longer works as such, because the behaviour of %k has changed: instead of the usual 07 I now get 7.

gcc, PlaySound(), Vista

2008-08-05 Thread Nicholas Volk
Hi all, I notice that Window's PlaySound() function makes my program crash when using Cygwin's gcc with Vista. The problem does not exist in XP. Also the problem vanishes when using -mno-cygwin option with Vista. The attached C file contains a simple program (it just contains a char array of

Re: change in gawk from 3.1.5 to 3.1.6

2008-06-25 Thread Nicholas Volk
Awk is not really my expertise (haven't used it in years) but shouldn't that be awk '{printf (%6d, 0x22) }' test.txt I mean that 0x22 usually refers to strings, not hexes. Works fine without quotations. br, Nicholas Hello Corinna, the change in gawk from 3.1.5 to 3.1.6 broke my script.

Re: Cron will not start jobs - cygwin/XP

2008-06-10 Thread Nicholas Volk
0-59 * * * * cygdrive/c/cygwin/home/bruceb/datewrite.sh /dev/null 21 Isn't there a '/' missing before cygdrive... br, Nicholas -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: