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
Bash/Unix Command Errors wcmmlynn UNIX for Advanced & Expert Users 0 11-13-2007 12:47 AM
Using variable with cp command in bash shell maheshsri Shell Programming and Scripting 4 12-04-2006 10:30 AM
bash command to get the name of OS installed sateeshgauns UNIX for Dummies Questions & Answers 3 11-22-2006 09:36 AM
Sort (bash command) booboo Shell Programming and Scripting 5 03-31-2006 04:18 PM
Another Bash Command Astudent UNIX for Dummies Questions & Answers 1 11-20-2000 01:01 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-19-2000
Registered User
 

Join Date: Oct 2000
Posts: 42
In my script I use this command \c when printing(echo) out statements but this only works in the Korn Shell(ksh).
I need the same command to be used in the Bash Shell, is there one out there?

Thanks,

the A.
Forum Sponsor
  #2  
Old 11-19-2000
PxT's Avatar
PxT PxT is offline
Registered User
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 909
The \c argument to echo will work in bash also.

Some version of echo also support the -n switch to suppress newlines.

ex:

$ echo -n Hello.
Hello.$

Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:59 AM.


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

Content Relevant URLs by vBSEO 3.2.0