# !/bin/ksh # Author: E. Halliday-Reynolds # date: 12/28/95 # From db, get lists of faxes by AIX versions. Put results # in /tmp. Will be the basis for updating 4fax indices. . /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" nu$$ nd$$ v31$$ v32$$ | grep "^ y" > tmp$$ paste -d "\0" v31$$ nu$$ nd$$ | grep "^ y" >tmp$$ sed "s/^ y //" tmp$$ > 4fax31.title paste -d "\0" v32$$ nu$$ nd$$ | grep "^ y" >tmp$$ sed "s/^ y //" tmp$$ > 4fax32.title paste -d "\0" v41$$ nu$$ nd$$ | grep "^ y" >tmp$$ sed "s/^ y //" tmp$$ > 4fax41.title rm tmp$$ # vi 4fax31.title