Hi again,
Currently devising a way to read in 1 line at a time from a text file but each line needs to be stored in a seperate variable. I have used this sort of code before to store a line at a time into 1 variable:
while read
do
set $id
## num=${4#"("}
## num=${num%"
"}
id2=$1
sacego /usr/cs3/ace/rtmdesper2 "$J1" "$J2" "$J3" "$J4" "$J5" "$J6" "$J7" "$J8"
sleep 3
done < /tmp/ericentry
What I want to do is pipe the variables J1 - J8 to the ace report.
Any ideas ?
Thanks again in advance.
Currently devising a way to read in 1 line at a time from a text file but each line needs to be stored in a seperate variable. I have used this sort of code before to store a line at a time into 1 variable:
while read
do
set $id
## num=${4#"("}
## num=${num%"
id2=$1
sacego /usr/cs3/ace/rtmdesper2 "$J1" "$J2" "$J3" "$J4" "$J5" "$J6" "$J7" "$J8"
sleep 3
done < /tmp/ericentry
What I want to do is pipe the variables J1 - J8 to the ace report.
Any ideas ?
Thanks again in advance.