Bourne shell functions

Robert E. Lancia rob at meaddata.com
Sat Jun 22 06:32:22 AEST 1991


Following up to my own article ...

In article <4973 at meaddata.meaddata.com> I write:
>
>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 [it] won't work.
      ^^^^^^^^^^^^^^^^^^^^     ^^^^^^^^^^
... except of course, in dealing with parameters.  The work-around I
described won't work with parameters (at least, not as given.) 
Parameters to these "functions" aren't a major concern of mine for
this script, though.


Other comments, etc?


Rob.
--
|Robert Lancia                 | The above opinions    | Mead Data Central
|(513) 297-2560                | may not necessarily   | Data Services Division
|rob at pmserv.meaddata.com       | be MDC's.  Heck, they | P.O. Box 308
|...!uunet!meaddata!pmserv!rob | may not even be mine. | Dayton, Ohio  45401



More information about the Comp.unix.shell mailing list