Another b18 bash script problem

Jeff Bergan jeff@nuance.com
Fri Sep 18 22:21:00 GMT 1998


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".



More information about the Cygwin mailing list