Hi Jeffrey,

On Wed, 1 Aug 2012 13:02:10 -0600 you coerced some electrons to say:

> David,
> 
> 
> > > I didn't intend for there to be any bash-isms.  The only things I
> > > know of that I use are $(echo hi) and similar - which I didn't
> > > think were bash-only.  If they are, then I should get rid of them.
> >
> > I haven't checked lately, but /bin/sh (as in "Bourne") doesn't do
> > $(). Should probably stick to backticks for command substitution.
> 
> 
> Depends on your definition of "lately." :-)
> 
> $() became a requirement for /bin/sh implementations in IEEE
> 1003.2-1992. That standard codified existing practice, so you'll find
> $() in every /bin/sh that's under the drinking age.
> 
> (Me, I stopped using backticks for command substitution in the late
> 80's.)
> 
> On even older, non-POSIX Unix-y boxes -- Unix v7 boxes, say -- we'd
> still have a problem. Are such boxes a target?
> 
> Boxes that lack /bin/sh, like out-of-the-box Windows machines, are
> also a problem.

This is what I get for relying on <Dominant-Search-Engine> for answers
to such historical questions. Having not used a UNIX(R) system in a
while, I believed the first search hit for "bourne shell command
substitution -bash". The link is to http://ibm.co/Nmy3ca which appears
to be for AIX 5.3. Sigh, it looks like 7.1 is the current release from
IBM.

Thanks for the additional perspective and reference Jeffrey!


  ~d

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Assimilation mailing list - Discovery-Driven Monitoring
[email protected]
http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
http://assimmon.org/

Reply via email to