home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / bsd / 8462 < prev    next >
Encoding:
Text File  |  1992-11-05  |  1.1 KB  |  28 lines

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