The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 07-27-2007
bobk544 bobk544 is offline
Registered User
  
 

Join Date: Jan 2006
Location: fairfax virginia
Posts: 58
Seperate commands on the same line

hello, is there a way to seperate commands that are on the same line?

ie: echo "yes count(*)>0:" $passvar > dsp cat dsp cat dsp > log

i'm trying to put these 3 commands on the same line, but when i do they all get concatenated into 1 lieteral

if i put the cat commands on different lines they work ok, but not when on the same line

is there some kind of seperator that will simulate a sperate line or something like that?

thanks for any insights!
BobK