Path: utzoo!attcan!uunet!husc6!uwvax!oddjob!gargoyle!att!cuuxb!dlm From: dlm@cuuxb.ATT.COM (Dennis L. Mumaugh) Newsgroups: comp.unix.wizards Subject: Re: ksh incompatabilities with sh? Message-ID: <1805@cuuxb.ATT.COM> Date: 24 May 88 18:50:08 GMT References: <2599@usceast.UUCP> <2601@usceast.UUCP> <4402@vdsvax.steinmetz.ge.com> <53764@sun.uucp> <4627@hoptoad.uucp> Reply-To: dlm@cuuxb.UUCP (Dennis L. Mumaugh) Organization: ATT Data Systems Group, Lisle, Ill. Lines: 22 In article <4627@hoptoad.uucp> gnu@hoptoad.uucp (John Gilmore) writes: I have heard this too, over the years, and would like real documentation on what's wrong. Are there gross bugs in "sh" that ksh is too polite to perpetuate, but which users depend upon? It would seem the best course to fix the ksh to match the sh in all respects, rename it to /bin/sh, and throw away the old sh. I thought that was the original idea; what happened? I have seen a couple: 1) the test builtin for sh accepts extra arguments: test -r /bin/* while the ksh test builtin complains about syntax error 2) Also, several environment variables are set readonly in ksh but not in sh and when cron/at is setting up an at job it will attempt to re-establish the user's enviornment and sets the "read-only" variables. -- =Dennis L. Mumaugh Lisle, IL ...!{ihnp4,cbosgd,lll-crg}!cuuxb!dlm