delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/19/06:02:10

From: jeff AT nuance DOT com (Jeff Bergan)
Subject: bash pattern substitution
19 Sep 1998 06:02:10 -0700 :
Message-ID: <000501bde352$dd936610$68c718d1.cygnus.gnu-win32@pacific.nuance.com>
References: <Pine DOT SUN DOT 3 DOT 95 DOT 980910124719 DOT 10501C-100000 AT weeble DOT lut DOT ac DOT uk>
Mime-Version: 1.0
To: "Gnu-Win32 Mailing List (E-mail)" <gnu-win32 AT cygnus DOT com>

Hi,

I was just trying to write a bash script in which I wanted to do a quick
substitution in a variable, and it seems that bash has trouble with this.  I
typed in an example from a book which works on unix:
echo -e {PATH//:/'\n'}

And it complains of bad substitution.  I'm using b18 on NT.. is this known
and fixed in b19?  Thanks!

Jeff

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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