home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / bsd / 8540 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.7 KB

  1. Path: sparky!uunet!ogicse!usenet.coe.montana.edu!saimiri.primate.wisc.edu!ames!olivea!charnel!rodmur
  2. From: rodmur@ecst.csuchico.edu (Dale Harris)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: [BSD4.3reno] /bin/sh problem?
  5. Message-ID: <1deo4sINNdpg@charnel.ecst.csuchico.edu>
  6. Date: 6 Nov 92 21:30:04 GMT
  7. Article-I.D.: charnel.1deo4sINNdpg
  8. References: <1d9m3vINN8nh@charnel.ecst.csuchico.edu> <MJL.92Nov5133721@rigel.bos.locus.com>
  9. Organization: California State University, Chico
  10. Lines: 24
  11. NNTP-Posting-Host: hairball.ecst.csuchico.edu
  12.  
  13. In article <MJL.92Nov5133721@rigel.bos.locus.com> mjl@bos.locus.com (Mike Leibensperger) writes:
  14. >
  15. >In article <1d9m3vINN8nh@charnel.ecst.csuchico.edu>
  16. >rodmur@ecst.csuchico.edu (Dale Harris) writes:
  17. >You only get shell functions with the Korn shell (/bin/ksh, linked to
  18. >/bin/sh on some systems).  The Korn shell requires a seperate license
  19. >from AT&T or USL or whatever, so I doubt that stuff straight out of
  20. >Berkeley (4.3reno, 4.4, Net2) comes with it.
  21.  
  22. I know that is not quite correct because functions works on most SYSV
  23. system /bin/sh and it isn't linked to /bin/ksh, I check things like that,
  24. also I ran my little script on a NeXT and it really can't be called a SYSV
  25. machine or a BSD machine and its /bin/sh supported the functions and it
  26. didn't come with ksh, it was ported over.
  27.  
  28. Thanx to the rest of you for proving my suspicions that BSD4.3 /bin/sh 
  29. doesn't support functions, and that I'd probably have to use bash or ksh.
  30.  
  31.  
  32. -- 
  33.    __        _                     Dale A. Harris  {rodmur@ecst.csuchico.edu} 
  34.   /  )      //                           /   "Is gone... he left for Mexico to
  35.  /  / __.  // _      , , , __.  _       /_  _  __  _  get a job, due to the
  36. /__/_(_/|_</_</_    (_(_/_(_/|_/_)_    / /_</_/ (_</_ deterioting US economy ;)
  37.