Wait… v7 Unix?  Really?  I think we could safely draw the line at POSIX...

On Aug 1, 2012, at 3:02 PM, Jeffrey S. Haemer wrote:

> 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.
> 
> -- 
> Jeffrey Haemer <[email protected]>
> 720-837-8908 [cell], http://seejeffrun.blogspot.com [blog],
> http://www.youtube.com/user/goyishekop [vlog]
> פרייהייט? דאס איז יאַנג דינען וואָרט.
> 
> _______________________________________________
> Assimilation mailing list - Discovery-Driven Monitoring
> [email protected]
> http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
> http://assimmon.org/

_______________________________________________
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