Hi, Andreas Rottmann <[email protected]> writes:
> That's not true for '$(...)', see SUSv3, Section 2.6.3.
Solaris 5.10 /bin/sh:
--8<---------------cut here---------------start------------->8---
> echo $(echo foo)
syntax error: `(' unexpected
--8<---------------cut here---------------end--------------->8---
If Bruno is around, I’m sure he’ll come up with other examples. ;-)
I think it’s best to avoid these constructs since it has no downsides
anyway.
Thanks,
Ludo’.
