The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
concat string
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
concat string
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
07-25-2006
Dhruva
Registered User
Join Date: Mar 2006
Location: India
Posts: 255
try this. Wherever you want to use $c use "$c" it will retain the spaces.
a="HELLO "
b="WORLD "
c="$a$b"
echo "$c"
Last edited by Dhruva; 07-25-2006 at
07:20 AM
..
Dhruva
View Public Profile
Find all posts by Dhruva
Find Dhruva's past nominations received
Find Dhruva's present nominations given