Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Herbert Xu <herbert@...>
Cc: Randy Dunlap <rdunlap@...>, Andreas Mohr <andi@...>, Andrew Morton <akpm@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Friday, November 2, 2007 - 4:09 pm

Hi,

On Fri, Nov 02, 2007 at 10:01:18AM +0800, Herbert Xu wrote:

True (just verified again). But then I didn't actually say that this line
is problematic. Since I had to replace the leading . replacement part already
I decided to simply fold everything into one sed expression.


"Debian stable.", aka "Update not an option.". Right?

Since the specs list both possibilities I'd simply go with the safe one,
the one that works on older dash versions, too.
Unless adding a $ sign happens to break other equally important
shells...


This is where I'd think the problem is. If dash once upon a time
decided to support the $ variant only and the specs didn't list both
at that time, well...

The dash version on my system is 0.5.3-5, BTW. Even Debian testing
has 0.5.3-7 only.
I'm now quite certain on which side to tweak things ;)

Thanks a lot for your review,

Andreas Mohr
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH/RFC] eradicate bashisms in scripts/patch-kernel, Andreas Mohr, (Wed Oct 31, 5:13 pm)
Re: [PATCH/RFC] eradicate bashisms in scripts/patch-kernel, Andreas Mohr, (Fri Nov 2, 4:09 pm)
[PATCH] eradicate bashisms in scripts/patch-kernel, Andreas Mohr, (Sat Nov 17, 4:51 pm)
Re: [PATCH] eradicate bashisms in scripts/patch-kernel, Randy Dunlap, (Wed Jan 2, 7:00 pm)