![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Delete Multiple White Spaces | eja | UNIX for Dummies Questions & Answers | 6 | 04-18-2008 06:34 AM |
| trimming white spaces | briskbaby | Shell Programming and Scripting | 9 | 09-23-2006 06:10 PM |
| Trim white spaces using awk | mona | Shell Programming and Scripting | 2 | 07-28-2006 04:47 AM |
| delete white spaces | DebianJ | Shell Programming and Scripting | 2 | 10-12-2005 01:30 PM |
| deleting white spaces | cary530 | UNIX for Dummies Questions & Answers | 10 | 02-17-2004 01:22 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Two or more white spaces in string
Hi,
Can anybody suggest me how to combine two strings with two or more white spaces and assign it to a variable? E.g. first=HAI second=HELLO third="$first $second" # appending strings with more than one white spaces echo $third this would print HAI HELLO Output appears with only one white space. TIA. Regards, Harish |
|
||||
|
Vino,
It is working fine. Thanks. Regards, Harish |
| Sponsored Links | ||
|
|