#! /bin/sh -f for pipe in `cat pipelist1` do \rm $pipe mkfifo $pipe done gather -F pipelist1 -D2 -S |\ utop -R 999999 |\ li_di_job |\ tim2hed3d_job & pipe=1 for line in `cat linelist1` do ilch2 -N /data1/obuKING/PreBin/SailLineData/$line/$line"_conditioned_compressed" |\ ttothen -I |\ avgain -md3 -w1000 -l60 -O$pipe"_named_pipe" echo "line "$line" finished gather1_job" echo $pipe"_named_pipe finished gather1_job" pipe=`expr $pipe + 1` done