bash pattern substitution
Michael Weiser
michael@weiser.saale-net.de
Sun Sep 20 16:20:00 GMT 1998
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".
More information about the Cygwin
mailing list