This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: bash pattern substitution
- To: "Jeff Bergan" <jeff at nuance dot com>
- Subject: Re: bash pattern substitution
- From: michael at weiser dot saale-net dot de (Michael Weiser)
- Date: Sun, 20 Sep 1998 18:06:16 GMT
- Cc: gnu-win32 at cygnus dot com
- References: <000501bde352$dd936610$68c718d1@pacific.nuance.com>
Hello Jeff, you wrote:
>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'}
You've forgotten a '$'. echo -e ${PATH//:/'\n'} should work.
--
bye, Michael
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".