home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.bsd
- Path: sparky!uunet!think.com!paperboy.osf.org!loverso
- From: loverso@coltsfoot.osf.org (John Robert LoVerso)
- Subject: Re: [BSD4.3reno] /bin/sh problem?
- Message-ID: <1992Nov5.135149.14437@osf.org>
- Summary: BSD /bin/sh is v7 sh
- Sender: news@osf.org (USENET News System)
- Organization: OSF Research Institute, Cambridge MA
- References: <1d9m3vINN8nh@charnel.ecst.csuchico.edu>
- Date: Thu, 5 Nov 1992 13:51:49 GMT
- Lines: 15
-
- In article <1d9m3vINN8nh@charnel.ecst.csuchico.edu>, rodmur@ecst.csuchico.edu (Dale Harris) writes:
- |> Has anyone ever tried doing a function or sub-routine in a shell script
- |> in BSD4.3 or BSD4.4, it doesn't seem to want to work, and it works on
- |> several other flavors of Unix.
-
- BSD has traditionally distributed the good, old Bourne shell from V7. It
- predates the additions of functions and a few other things (${...:...}).
-
- Starting with BNR2, they've replaced the V7 shell (AT&T copyright, you know)
- with ash, Almquist's shell-a-like, touting most of the new (now POSIX-required)
- features. It has functions.
-
- Another approach is to use GNU's bash.
-
- John
-