The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-04-2007
rahul303 rahul303 is offline
Registered User
 

Join Date: Sep 2007
Posts: 11
Storing string with space

Hi all
I am trying this simple command:
a="abc abc"
echo $a

output is: abc abc
But expected output shoould be :abc abc
i.e spaces in real string are geting truncated to one space everytime.

Plz Help.
Reply With Quote
Forum Sponsor