This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: Bash 2.04 patch 2 now available
- To: "'tbisp at my-Deja dot com'" <tbisp at my-Deja dot com>, Cygwin Mailing List <cygwin at sourceware dot cygnus dot com>
- Subject: RE: Bash 2.04 patch 2 now available
- From: Heribert Dahms <heribert_dahms at icon-gmbh dot de>
- Date: Fri, 31 Mar 2000 22:25:06 +0200
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