This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Bash 2.04 patch 2 now available


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]