The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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 01:24 AM
Substituting carriage return followed by newline character - HELP djkane Shell Programming and Scripting 14 02-28-2006 05:58 PM
Substituting carriage return follwed by newline character - HELP! djkane UNIX for Dummies Questions & Answers 1 02-27-2006 05:11 PM
Newline character not working for ksh sanikv Shell Programming and Scripting 11 06-23-2005 10:34 AM
How can I replace newline character? ghoti UNIX for Dummies Questions & Answers 1 08-16-2001 09:49 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-30-2008
Registered User
 

Join Date: Feb 2006
Posts: 40
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
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-31-2008
vbe vbe is offline
Registered User
 

Join Date: Sep 2005
Location: Switzerland
Posts: 430
???
What are you using to print?

ant:/home/vbe $ cat gigi
echo "Message from bac logistics\nThe Confirmation File has not been received."

ant:/home/vbe $ sh gigi
Message from bac logistics
The Confirmation File has not been received.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:37 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0