![]() |
|
|
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 |
| newline character | trichyselva | UNIX for Dummies Questions & Answers | 9 | 10-31-2008 01:47 PM |
| newline character, space and tab after a string | angelina | UNIX for Advanced & Expert Users | 6 | 07-11-2008 12:10 PM |
| Sed append newline character | Gaurang033 | Shell Programming and Scripting | 3 | 06-26-2008 06:57 AM |
| Newline character not working for ksh | sanikv | Shell Programming and Scripting | 11 | 06-23-2005 02:34 PM |
| How can I replace newline character? | ghoti | UNIX for Dummies Questions & Answers | 1 | 08-16-2001 01:49 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Concatenate the string with the newline character
Hi , i want to Concatenate a string and use the following code Code:
str="i" str="$str am \n" str="$str a \n" str="$str boy \n" echo $str I want to ouput this Code:
i am a boy However it outputs Code:
i am \n a \n boy \n How can I Concatenate the string with the newline character? |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|