![]() |
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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| delete newline character between html tags | girish312 | UNIX for Dummies Questions & Answers | 8 | 02-29-2008 05:24 AM |
| Substituting carriage return followed by newline character - HELP | djkane | Shell Programming and Scripting | 14 | 02-28-2006 09:58 PM |
| Substituting carriage return follwed by newline character - HELP! | djkane | UNIX for Dummies Questions & Answers | 1 | 02-27-2006 09:11 PM |
| Newline character not working for ksh | sanikv | Shell Programming and Scripting | 11 | 06-23-2005 01:34 PM |
| How can I replace newline character? | ghoti | UNIX for Dummies Questions & Answers | 1 | 08-16-2001 12:49 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
newline character
hi,
I want to print the below lines "Message from bac logistics The Confirmation File has not been received." When i give like this in the code "Message from bac logistics\n The Confirmation File has not been received." It is giving only Message from bac logistics\n The Confirmation File has not been received. how to put it in second line thanks in advance suggestions welcome |
|
||||
|
Yeah, I'm also facing a similar sort of a situation.
Here is a demo line from my script: var=$x"\n"$y When i echo $var i am getting Hello There But when I am passing this variable var as an argument to a Java program then it is receiving something like this Hello\nThere I tried replacing \n with System.getProperty("line.separator") but to no avail. Thanks. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|