[indiana-discuss] scope

Shawn Walker binarycrusader at gmail.com
Wed Aug 8 11:56:01 PDT 2007


On 08/08/07, Jonathan Edwards <Jonathan.Edwards at sun.com> wrote:
>
> On Aug 8, 2007, at 12:18, Alan Coopersmith wrote:
>
> > Jonathan Edwards wrote:
> >> why not just make it an install option:
> >> /bin/sh?
> >> [  ] Bourne
> >> [  ] Korn
> >> [  ] Bourne Again
> >> [  ] C
> >> [  ] Zoidberg
> >> of course choosing any church may make you a heretic to others
> >
> > How would any scripts that start with #!/bin/sh actually work then?
> >
>
> you'd either have to write to the lowest common denominator [hard]
>
> /or/
>
> we could just use /bin/sh as a translation layer to figure out which
> shell *should* be run based on preference or syntax [easier] .. using
> #!/bin/sh is almost like using "dude" in conversation - it's a little
> ambiguous and hardly a standardized programming interface

Hear hear! Programmers that depend on /bin/sh being bash should be
drawn and quartered (figuratively speaking of course).

-- 
Shawn Walker, Software and Systems Analyst
binarycrusader at gmail.com - http://binarycrusader.blogspot.com/

"Beware of bugs in the above code; I have only proved it correct, not
tried it. " --Donald Knuth



More information about the indiana-discuss mailing list