Subject: Re: correct shell behaviour?
To: NetBSD Userlevel Technical Discussion List <tech-userlevel@NetBSD.ORG>
From: David Laight <>
List: tech-userlevel
Date: 08/22/2002 19:47:07
> I've now 'fixed' all the bugs I've found.  Making the shell
> posix compiant has probably broken something important though!
> (The biggest change is that some of the builting are 'special'
> and cannot be overridden - eg by shell functions.)
> If anyone is feeling brave I've put my current sh sources
> onto the web ( then netbsd/sh).
> All of 'sh' and 'sh/bltin' are there, you also need 'printf'
> (because I've make it a builtin).
> The 'diffs' file is the output of 'cvs diff -u .'
> is my test file - try running it on a few shells
> (they need to support $(..) and $((...)) so old sh are out)

I've updated that today - I'm definitely not going to spend all
of tomorrow fixing sh.


David Laight: