Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!meaddata!rob From: rob@meaddata.com (Robert E. Lancia) Newsgroups: comp.unix.shell Subject: Re: Bourne shell functions Message-ID: <4975@meaddata.meaddata.com> Date: 21 Jun 91 20:32:22 GMT References: <4973@meaddata.meaddata.com> Sender: usenet@meaddata.com Reply-To: rob@pmserv.meaddata.com Organization: Mead Data Central, Dayton OH Lines: 31 Following up to my own article ... In article <4973@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@pmserv.meaddata.com | be MDC's. Heck, they | P.O. Box 308 |...!uunet!meaddata!pmserv!rob | may not even be mine. | Dayton, Ohio 45401