home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / bsd / 9204 < prev    next >
Encoding:
Internet Message Format  |  1992-11-22  |  1.8 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!unlisys!desert!max.IN-Berlin.DE!max.IN-Berlin.DE!not-for-mail
  2. From: berry@max.IN-Berlin.DE (Stefan Behrens)
  3. Newsgroups: comp.unix.bsd
  4. Subject: [BSD386] bash for /bin/sh is the best you can do!
  5. Date: 23 Nov 1992 00:36:31 +0100
  6. Organization: Private
  7. Lines: 23
  8. Message-ID: <1ep5idINNue@max.IN-Berlin.DE>
  9. References: <Bxx6zB.JDw@news.cso.uiuc.edu> <1992Nov19.035447.29105@moxie.hou.tx.us> <RICH.92Nov21115938@omicron.Rice.edu>
  10. NNTP-Posting-Host: max.in-berlin.de
  11. Summary: Use bash for /bin/sh
  12. Keywords: 386bsd bash /bin/sh
  13.  
  14. In article <RICH.92Nov21115938@omicron.Rice.edu> Rich@rice.edu writes:
  15. [...about elm2.4...]
  16. >   It won't compile right with the existing version of /bin/sh. You
  17. >   need to copy 386BSD's bash onto /bin/sh.
  18. >
  19. >This may cause you problems when booting.  It's also going to expose
  20. >all the sh dependent code in system shell scripts.  Rich
  21.  
  22. No, I think you're wrong, ash makes much more problems than bash!
  23. There have been so many warnings about using bash for /bin/sh. But for me
  24. it works great. I copied bash to /bin/sh two or three month ago, no
  25. problems yet, neither with booting nor with other system-dependig stuff!
  26. Using bash for /bin/sh means less problems with porting software, less
  27. problems with compatibility in general.
  28. At that time when I used ash, the first thing I had to do to `port'
  29. software was substituting all references to ` sh ' or `/bin/sh' to
  30. `/usr/local/bin/bash' and it worked, so I use bash as default now.
  31. I compiled most of the GNU stuff and the other available sources that
  32. were interesting for me with less than ten lines to patch (usually
  33. wrong prototypes for library functions). With ash many programs didn't
  34. compile or didn't run!
  35. -- 
  36. Stefan (berry@max.IN-Berlin.DE)
  37.