LWN.net Logo

Comparing Linux and Minix

Comparing Linux and Minix

Posted Feb 5, 2007 17:57 UTC (Mon) by marduk (subscriber, #3831)
Parent article: Comparing Linux and Minix

Which shell does Minix use? Would it be possible to run UnixBench on Linux using the same shell as Minix?

Not that it really matters, but...


(Log in to post comments)

Comparing Linux and Minix

Posted Feb 5, 2007 18:11 UTC (Mon) by abatters (✭ supporter ✭, #6932) [Link]

This reminds me of the fact that Ubuntu 6.10 switched /bin/sh to point to a minimal shell (rather than bash) to improve system startup / shutdown time. Of course this also broke a lot of scripts that started with #!/bin/sh but used bash-specific syntax.

Comparing Linux and Minix

Posted Feb 6, 2007 10:24 UTC (Tue) by jond (subscriber, #37669) [Link]

Or, pointed out a lot of broken scripts that had worked due to circumstance thus far... and were then promptly fixed.

Comparing Linux and Minix

Posted Feb 6, 2007 13:32 UTC (Tue) by k8to (subscriber, #15413) [Link]

I doubt it was _that_ big a problem. Debian has a longstanding policy of #!/bin/sh scripts not requiring bash. ash is often used as the noninteractive system shell.

Shells ...

Posted Feb 5, 2007 18:13 UTC (Mon) by kmself (subscriber, #11565) [Link]

... or just a lighter one than Bash to see if Jon's (erm, "your
editor's") hypothesis is correct. Eg: dash.

Maybe re-run with Dash or Ash?

Posted Feb 5, 2007 18:26 UTC (Mon) by bronson (subscriber, #4806) [Link]

Ubuntu switched from Bash to Dash in Edgy to noticeably shorten boot times. Apparently booting involves forking a LOT of shells, and Bash is big, featureful, and slow (and has the most convoluted syntax of any programming language that I know -- including APL -- but I digress...)

If our esteemed editor still has his test rig set up, it might be interesting to see the shell tests re-run using Dash or Ash instead of Bash?

Maybe re-run with Dash or Ash?

Posted Feb 5, 2007 20:33 UTC (Mon) by AJWM (guest, #15888) [Link]

> (and has the most convoluted syntax of any programming language that I know -- including APL -- but I digress...)

Hey, APL's syntax is dead simple: evaluate right to left and functions are either monadic or dyadic (or niladic, I guess). The character set, on the other hand...

Maybe re-run with Dash or Ash?

Posted Feb 15, 2007 20:13 UTC (Thu) by donbarry (guest, #10485) [Link]

...and the syntax exceptions engendered by array indexing and assignments in APL.

Never fear, Iverson fixed this before his death with his magnum opus,
the chief successor to APL, "J" (www.jsoftware.com). And it uses only
ASCII characters in clever way. It is similar enough to APL to be
classifiable as a dialect.

Now if only this gang really understood the ecosystem of free software. A
free version (as in freedom, not as in beer, which is their current offering) is at the top of my wishlist in software.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds