From: Cyrille Lefevre via TUHS <tuhs@minnie.tuhs.org>
To: tuhs@tuhs.org
Subject: Re: [TUHS] ksh88 source code?
Date: Wed, 22 Dec 2021 12:11:40 +0100 [thread overview]
Message-ID: <8d19eacf-dc1d-efe2-1635-7feaa6d66d20@laposte.net> (raw)
In-Reply-To: <CAD2gp_RAYxkeTpxtHGyNCiMYauzEv_mJceoTswNirWGL2Y48Lw@mail.gmail.com>
Le 21/12/2021 à 17:42, John Cowan a écrit :
> On Tue, Dec 21, 2021 at 11:22 AM Larry McVoy <lm@mcvoy.com
> <mailto:lm@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@laposte.net
next prev parent reply other threads:[~2021-12-22 11:12 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-22 22:43 Warren Toomey
2020-12-22 23:01 ` Clem Cole
2020-12-23 1:29 ` John P. Linderman
2020-12-23 22:57 ` Warren Toomey
2020-12-23 3:30 ` Rico Pajarola
2020-12-23 9:03 ` Thomas Paulsen
2020-12-23 9:14 ` Rico Pajarola
2020-12-23 5:46 ` Scot Jenkins via TUHS
2020-12-23 7:19 ` Efton Collins
2021-12-21 13:55 ` Cyrille Lefevre via TUHS
2021-12-21 16:21 ` Larry McVoy
2021-12-21 16:27 ` Warner Losh
2021-12-21 17:15 ` Grant Taylor via TUHS
2021-12-21 17:31 ` Boyd Lynn Gerber
2021-12-21 19:09 ` Richard Salz
2021-12-22 6:23 ` jason-tuhs
2021-12-24 22:51 ` Grant Taylor via TUHS
2021-12-24 23:15 ` Richard Salz
2021-12-24 23:34 ` Michael Huff
2021-12-21 16:42 ` John Cowan
2021-12-21 16:47 ` Chet Ramey
2021-12-21 17:09 ` John Cowan
2021-12-22 11:11 ` Cyrille Lefevre via TUHS [this message]
2021-12-21 22:15 ` Thomas Paulsen
2021-12-22 7:44 ` arnold
2021-12-22 14:35 ` Cyrille Lefevre via TUHS
2021-12-22 14:36 ` Chet Ramey
2021-12-23 13:39 ` [TUHS] Bourne shell source code (was Re: ksh88 source code?) Cyrille Lefevre via TUHS
2020-12-23 6:56 ` [TUHS] ksh88 source code? arnold
2021-12-22 14:40 Norman Wilson
2021-12-23 17:23 ` John Cowan
2021-12-23 20:08 ` silas poulson
2021-12-23 19:10 Norman Wilson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8d19eacf-dc1d-efe2-1635-7feaa6d66d20@laposte.net \
--to=tuhs@minnie.tuhs.org \
--cc=cyrille.lefevre-lists@laposte.net \
--cc=tuhs@tuhs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).