This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Another b18 bash script problem
- To: "Gnu-Win32 Mailing List (E-mail)" <gnu-win32 at cygnus dot com>
- Subject: Another b18 bash script problem
- From: "Jeff Bergan" <jeff at nuance dot com>
- Date: Fri, 18 Sep 1998 16:29:16 -0700
Hi,
Ok, so I wrote a test script in bash to get around the substitution problem
I mentioned before. It is:
----------------------------------------------------------
var1=somename
var2=num
echo "myvar1=${var1} myvar2=${var2} "
var3=`echo blobname | perl -pe 's/ /,/g'`
echo
echo "var1 is ${var1}"
echo "var2 is ${var2}"
echo "myvar1=${var3}" " myvar2=${var2} "
exit
And its output is:
myvar1=somename myvar2=num
var1 is somename
var2 is num
myvar2=num me
----------------------------------------------------------
Anybody know why it does this? Is this another thing that might be fixed in
b18?
I'm running out of ideas to get around it... Any hints? Thanks!
Jeff
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".