[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash exorcism experiment ('bug' 762923 & 763012)



Hi!

On Sun, 2014-09-28 at 18:39:50 +1000, Russell Stuart wrote:
> On Sun, 2014-09-28 at 09:33 +0100, Colin Watson wrote:
> > On Sat, Sep 27, 2014 at 09:11:44PM -0500, Troy Benjegerdes wrote:
> > > Does update-menus really need bash? Why?
> > 
> > pipefail is actually a fairly useful bashism.
> 
> I've attempted to port the many shell scripts I've written over the
> years to dash.  The three irritants are:
> 
>   - pipefail,

<http://cfajohnson.com/shell/cus-faq-2.html#Q11>.

>   - local variables,

dash does have local variables support.

>   - array variables.
> 
> If dash had those features conversion could almost be mechanical.

Thanks,
Guillem


Reply to: