Am 20.06.2011 10:21, schrieb Neil Bothwick:
> On Mon, 20 Jun 2011 16:30:12 +1000, Adam Carter wrote:
> 
>>> I might be wrong but as I understand it, cron executes your commands
>>> in /bin/sh, not /bin/bash.  
>>
>> /bin/sh is a symlink to bash.
> 
> Which runs as sh when run from the symlink.
> 
> 

Interestingly, the new style of command substitution has been added to
the POSIX standard.
http://pubs.opengroup.org/onlinepubs/009695399/

I always thought bash was just lazy when it accepted that syntax in sh
mode and therefore could fail if you use dash as a sh replacement or
something alike. Well, lifelong learning ...

Regards,
Florian Philipp

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to