Return to BSD News archive
Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!caen!saimiri.primate.wisc.edu!ames!olivea!charnel!rodmur
From: rodmur@ecst.csuchico.edu (Dale Harris)
Newsgroups: comp.unix.bsd
Subject: Re: [BSD4.3reno] /bin/sh problem?
Message-ID: <1deo4sINNdpg@charnel.ecst.csuchico.edu>
Date: 6 Nov 92 21:30:04 GMT
References: <1d9m3vINN8nh@charnel.ecst.csuchico.edu> <MJL.92Nov5133721@rigel.bos.locus.com>
Organization: California State University, Chico
Lines: 24
NNTP-Posting-Host: hairball.ecst.csuchico.edu
In article <MJL.92Nov5133721@rigel.bos.locus.com> mjl@bos.locus.com (Mike Leibensperger) writes:
>
>In article <1d9m3vINN8nh@charnel.ecst.csuchico.edu>
>rodmur@ecst.csuchico.edu (Dale Harris) writes:
>You only get shell functions with the Korn shell (/bin/ksh, linked to
>/bin/sh on some systems). The Korn shell requires a seperate license
>from AT&T or USL or whatever, so I doubt that stuff straight out of
>Berkeley (4.3reno, 4.4, Net2) comes with it.
I know that is not quite correct because functions works on most SYSV
system /bin/sh and it isn't linked to /bin/ksh, I check things like that,
also I ran my little script on a NeXT and it really can't be called a SYSV
machine or a BSD machine and its /bin/sh supported the functions and it
didn't come with ksh, it was ported over.
Thanx to the rest of you for proving my suspicions that BSD4.3 /bin/sh
doesn't support functions, and that I'd probably have to use bash or ksh.
--
__ _ Dale A. Harris {rodmur@ecst.csuchico.edu}
/ ) // / "Is gone... he left for Mexico to
/ / __. // _ , , , __. _ /_ _ __ _ get a job, due to the
/__/_(_/|_</_</_ (_(_/_(_/|_/_)_ / /_</_/ (_</_ deterioting US economy ;)