Re: [PLUG] bash vs dash and the "at" command

2010-10-25 Thread Daniel Pittman
"chris (fool) mccraw" writes: > On Mon, Oct 25, 2010 at 11:27, frankhunt wrote: > >> Does the "at" scheduler use bash or dash? > > mine (ubuntu 10.4 still) uses /bin/sh as documented in the first line of the > at(1) man page. on my system, /bin/sh is linked to dash rather than bash. > i believe

Re: [PLUG] bash vs dash and the "at" command

2010-10-25 Thread Fred James
frankhunt wrote: > Does the "at" scheduler use bash or dash? > > I have a shell script that runs just fine via cron or command line > It generates errors if run via "at" and does not complete > The errors seem to be related to the use of the "let" statement > My test script fails the same way from

Re: [PLUG] bash vs dash and the "at" command

2010-10-25 Thread frankhunt
I finally actually read the first part of the man page for at and found the reference to /bin/sh. Duh. I'll give the single line that calls the real script a try . . . thanks. On 10/25/2010 11:53 AM, chris (fool) mccraw wrote: > On Mon, Oct 25, 2010 at 11:27, frankhunt wrote: >> Does the "at" s

Re: [PLUG] bash vs dash and the "at" command

2010-10-25 Thread chris (fool) mccraw
On Mon, Oct 25, 2010 at 11:27, frankhunt wrote: > Does the "at" scheduler use bash or dash? mine (ubuntu 10.4 still) uses /bin/sh as documented in the first line of the at(1) man page. on my system, /bin/sh is linked to dash rather than bash. i believe there have been other conversations on her

[PLUG] bash vs dash and the "at" command

2010-10-25 Thread frankhunt
Does the "at" scheduler use bash or dash? I have a shell script that runs just fine via cron or command line It generates errors if run via "at" and does not complete The errors seem to be related to the use of the "let" statement My test script fails the same way from command line if I include #!