delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/03/31/15:29:02

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
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 <heribert_dahms AT icon-gmbh DOT de>
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
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)

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019