Bourne shell functions

Paul Barton-Davis pauld at stowe.cs.washington.edu
Sat Jun 22 08:20:36 AEST 1991


In article <4973 at meaddata.meaddata.com> rob at pmserv.meaddata.com writes:
>
>I'm looking for comments/suggestions/flames concerning the following:
>
>One of our systems is a Sequent computer running DYNIX V3.0.17.v3.
>(DYNIX is strange in itself, in that it has completely separate
>AT&T and UCB universes, both of which IMHO seem incomplete.)  Anyway,
>in trying to write part of a simple Bourne shell script, I found that
>their shell doesn't support functions and I came up with a work-around.
>
>  [ example deleted ]
>
>The simple examples I've tried all seem to work, and I can't come up
>with a scenario in which won't work.
>
>Comments? / Suggestions? / Problems?
 
If you use /usr/att/bin/sh, you won't need the workaround. Why Sequent
had to supply 2 shells, one of which lacks a completely independent
piece of the other, is beyond me. But it works - I use it any time I
need a Bourne shell rather than bash, and I *only* work in the BSD
universe.



More information about the Comp.unix.shell mailing list