# !/bin/ksh # Author: E. Halliday-Reynolds # Date: 12/28/95 # Split 4fax list into 3.1 and 3.2 faxes only . /u/hsim/other/fax.data/scripts/setvars cd $TMPDIR # sed "/^#/d" $FAXDB | # sort -f -t! -k $NDX_FIELD -o temp1 # sed "/! temp2 # cut -c$V31_COLS temp2 > temp6 # cut -c$V32 COLS temp2 >temp7 # paste -d "\0" temp6 temp7 > temp8 # cut -c$NUM_COLS temp8 > temp3 # cut -c$NDX_COLS temp8 > temp4 # paste -d "\0" temp3 temp4 | # sed "/^ /d" | # sed "s/^/ /" > 32faxlist.title # rm temp* # vi 32faxlist.title # Date: 02/22/96 EHR # From db, get lists of faxes by AIX versions. Put results # in /tmp. Will be the basis for updating 4fax indices. 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" v32$$ nu$$ nd$$ | grep "^ y" >tmp$$ sed "s/^ y //" tmp$$ > 4fax32.title rm tmp$$ vi 4fax32.title