Re: Bash is broken wrt trap :(

2007-06-26 Thread Richard A Nelson
Eric Blake wrote: You left out one important fact - exactly which version of bash are you running on the three machines you tested? I attached a minimal working script to my most recent reply to this topic Here's more information on two such systems: --

Re: Bash is broken wrt trap :(

2007-06-26 Thread Richard A Nelson
Igor Peshansky wrote: I have code that must run on AIX (bash/ksh93), Linux (bash/ksh93), and Cygwin (bash - pdksh is not sufficient and I couldn't find ksh93)... What's missing in pdksh? subscript references, for one (ie ${OS:0:6}), which is fairly common in the scripts (though, most all co

Bash is broken wrt trap :(

2007-06-26 Thread Richard A Nelson
++ trap false RETURN ++ return 1 +++ false echo './test/do_b: *** ERROR *** ERROR *** ERROR ***' ./test/do_b: *** ERROR *** ERROR *** ERROR *** trap false RETURN return 1 + false ++ echo './test/do_b: *** ERROR *** ERROR *

[cron] 4.1 and w/XP

2007-04-22 Thread Richard A Nelson
I run cygwin on a variety of systems (Vista, 2k3, XP). With the update to cron 4.1, my XP system now fails to process /etc/crontab due to 'WRONG FILE OWNER', where it was working fine. I have tried changing ownership to the following, all with the same results: root:root root:sy