[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC: use readable $(cmd) syntax instead of unreadable `cmd`

On 09-Feb-07, 15:13 (CST), "John H. Robinson, IV" <jaqque@debian.org> wrote: 
> The only problem I see with $() is that older /bin/sh (SunOS) does not
> support $(), but it does support ``.
> When I make a /bin/sh, I want it able to be run on a /bin/sh, even if
> that /bin/sh is on SunOS.

Then you have a lot more problems than `` vs $(). Debian's (and pretty
much everybody elses) /bin/sh is POSIX, and allows any valid POSIX
construct. Solaris's /bin/sh is ancient Bourne shell, and doesn't
support a whole lot of stuff in common use.


Steve Greenland
    The irony is that Bill Gates claims to be making a stable operating
    system and Linus Torvalds claims to be trying to take over the
    world.       -- seen on the net

Reply to: