The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: concat string
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 07-25-2006
mpang_ mpang_ is offline
Registered User
  
 

Join Date: Mar 2006
Posts: 89
concat string

hey,

I want to concat whole bunch of strings together but somehow they don't turn out the way I want them to

a="HELLO "
b="WORLD "

c=$a$b

I was expecting c to be "HELLO WORLD " but it returns "HELLO WORLD ", why???