On Thu, Feb 24, 2011 at 3:36 PM, Thorsten Glaser <t...@mirbsd.org> wrote: > Andres Perera <andres.p <at> zoho.com> writes: > >> > Nowadays all shells supports $() so I advise you to use it :). >> >> no, not all shells support $() > > They do, it’s mandated by POSIX. There’s no reason to support the > accidentally non-combining accent gravis (so-called “backtick”¹) > any more, unless you specifically target Solaris 10 and below’s > /bin/sh (which always had a ksh and /usr/xpg4/bin/sh which both > are POSIX compatible), or, worse, the Bourne shell (you know, the > one where you wrote ^ instead of | for pipes).
"mandated by posix" and reality usually aren't in sync, as i'm sure you know by now since you pointed out solaris _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"