# !/bin/ksh # Author: E. Halliday-Reynolds # Date: 12/28/95 # Split 4fax list into 41 faxes only # 02/22/96 . /u/hsim/other/fax.data/scripts/setvars cd $TMPDIR sed "/^#/d" $FAXDB > tmp$$ sed "/! limited-l/d" tmp$$ > tmp1$$ mv tmp1$$ tmp$$ cut -c$V31_COLS tmp$$ > v31$$ cut -c$V32_COLS tmp$$ > v32$$ cut -c$V41_COLS tmp$$ > v41$$ cut -c$NDX_COLS tmp$$ > nd$$ cut -c$NUM_COLS tmp$$ > nu$$ paste -d "\0" v41$$ nu$$ nd$$ | grep "^ y" >tmp$$ sed "s/^ y //" tmp$$ > 4fax41.title rm tmp$$ vi 4fax41.title # sed "/^#/d" $FAXDB | # sort -f -t! -k $NDX_FIELD -o temp1 # sed "/! temp2 # cut -c$V41_COLS temp2 > temp6 # cut -c$NUM_COLS temp6 > temp3 # cut -c$NDX_COLS temp6 > temp4 # paste -d "\0" temp3 temp4 | # sed "/^ /d" | # sed "s/^/ /" > 41faxlist.title # rm temp* # vi 41faxlist.title