Bash 2.04 patch 2 now available

Heribert Dahms heribert_dahms@icon-gmbh.de
Fri Mar 31 12:27:00 GMT 2000


Hi,

I was never aware of such complicated constructs,
but in the template ${parameter/pattern/string}
there are three parts delimited by two slashes
and in the {RN/+(0)} there are two parts and only
one slash?

Bye, Heribert (heribert_dahms@icon-gmbh.de)

> -----Original Message-----
> From:	    [SMTP:tbisp@my-Deja.com]
> Sent:	Friday, March 31, 2000 05:37
> To:	Cygwin Mailing List
> Subject:	Bash 2.04 patch 2 now available
> 
> [Heribert]  [snip]
> 
> 2)The +(pattern) operator does not work in all
> string modifying parameter expansions. It works
> in ${parameter##word} but not
> ${parameter/pattern/string}. This is seen in the
> following example:
> >       RN=00970
> >       echo ${RN##+(0)}
> >       => 970
> >       echo ${RN/+(0)}
> >       => 00970
> Both echo statements should produce identical
> output. This has also been fixed.
> 
> [Heribert]  [snip]
> 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list