[TUHS] ksh88 source code?
Cyrille Lefevre
cyrille.lefevre-lists at laposte.net
Wed Dec 22 21:11:40 AEST 2021
Le 21/12/2021 à 17:42, John Cowan a écrit :
> On Tue, Dec 21, 2021 at 11:22 AM Larry McVoy <lm at mcvoy.com
> <mailto:lm at mcvoy.com>> wrote:
>
> I get the historical interest, but in today's world, is there any
> advantage to ksh over bash? I get that lots of scripts are run
> with /bin/sh and it is nice when that is fast, but aren't the cpus
> fast enough these days that it sort of doesn't matter?
>
> Ubuntu chose it as the default shell for sysvinit startup scripts in
> 2006 (from which it spread to BSD) precisely because it was much faster
> than bash. It's also smaller: bash is a memory hog.
it seems bash4 have solved the performance penalty :
https://github.com/ksh-community/shbench/blob/master/bench/gsub.ksh
/me
--
mailto:Cyrille.Lefevre-lists at laposte.net
More information about the TUHS
mailing list