Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <99B82AA9708ED0119B55006097125A00363E3D@ifk63.mach.uni-karlsruhe.de> From: Heribert Dahms To: "'tbisp AT my-Deja DOT com'" , Cygwin Mailing List Subject: RE: Bash 2.04 patch 2 now available Date: Fri, 31 Mar 2000 22:25:06 +0200 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1457.3) Content-Type: text/plain 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 AT icon-gmbh DOT de) > -----Original Message----- > From: [SMTP:tbisp AT my-Deja DOT 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 AT sourceware DOT cygnus DOT com