Dan Nicholson wrote:

$ /bin/tcsh -c 'echo $(which ash)'
Illegal variable name.

$(...) works only in sh-compatible shells (i.e., those which can be used as /bin/sh). tcsh isn't such a shell, it is csh-compatible.

So let's write somewhere in the beginning of the book that BLFS assumes sh-compatible shells for all users, and be happy with both `...` and $(...)

--
Alexander E. Patrakov
--
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