[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bootstrap shell?
On Fri, 23 May 2008, Tobias Nygren wrote:
> I did give mksh a spin. It didn't fly with pkgsrc because it's
> handling of the "echo" shell builtin is broken. At least it deviates
> from BSD and SUSv3 sh(1). Try echo '\x40' under mksh.
SUSv3 allows a wide variety of behaviours for echo(1). Whatever mksh
does is probably allowed.
I'd suggest something like this:
ECHO = printf "%s\n"
ECHO_N = printf "%s"
except that won't insert spaces when given multiple arguments.
--apb (Alan Barrett)
Main Index |
Thread Index |