
07-28-2007
|
|
Shell programmer, author
|
|
|
Join Date: Mar 2007
Location: Toronto, Canada
Posts: 2,361
|
|
Quote:
Originally Posted by bobk544
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?
|
Why do you want them on the same line? You dont gain anything by it, and it makes your script harder to read and modify.
|