On 2/28/06, Randy McMurchy <[EMAIL PROTECTED]> wrote:
>
> Does anybody know right offhand if $(command) syntax is a bash-only
> thing?
>

I think it is bash only. Definitely not compatible with sh. On the
system at work:
 $ uname -a
OSF1 server V5.1 2650 alpha
 $ /bin/sh -c 'echo $(ls)'
/bin/sh: syntax error at line 1: `(' unexpected


--
Tushar Teredesai
   mailto:[EMAIL PROTECTED]
   http://www.linuxfromscratch.org/~tushar/
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to