Re: ash vs. bash
In article <cistron.v0420550db3b9aaed0407@[206.163.71.146]>,
Joel Klecker <jk@espy.org> wrote:
>At 02:37 +0100 1999-07-20, Julian Gilbey wrote:
>>But only if you're going to rewrite essential system scripts such as
>>/etc/init.d/rc without using bash.
>
>Where's the alleged bashism in /etc/init.d/rc? I don't see one.
>No,${i#/etc/rc$runlevel.d/S[0-9][0-9]} is not a bashism.
I think the #! /bin/bash at the top of /etc/init.d/rc stems from
a time when either there was a bashism in that script, or there
was a valid POSIX contruct inthere which ash wouldn't grok
I already fixed it quite some time ago:
sysvinit (2.75-2) frozen unstable; urgency=medium
* Fixes bugs:
#22965: rcS is not sh independent
-- Miquel van Smoorenburg <miquels@cistron.nl> Tue, 2 Jun 1998 22:43:01 +0200
Mike.
--
... somehow I have a feeling the hurting hasn't even begun yet
-- Bill, "The Terrible Thunderlizards"
Reply to: