[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash-3 incompatibility: quoting in pattern substitution of variables
From: |
Chet Ramey |
Subject: |
Re: bash-3 incompatibility: quoting in pattern substitution of variables |
Date: |
Tue, 7 Sep 2004 15:04:32 -0400 |
> Your code is correct, but I'd rather say that bash2 was buggy or
> incomplete and that bash3 fixed its behavior (in a way that is
> not backward compatible), but I'm not a bash developer.
Stephane is correct.
> Now more consistent with the ${var%"$pattern"} and compatible
> with ksh93 and zsh's (k)sh emulation
Yes.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live...Laugh...Love
Chet Ramey, ITS, CWRU chet@po.cwru.edu http://tiswww.tis.cwru.edu/~chet/