# From db, get lists of faxes by AIX versions. Put results # in fax.data subdir in files 31.faxes, 32.faxes, 41.faxes. # At least for now, I won't include links. If I did, I would have # to added version information for links in db. # Author: Cynthia Roush # Creation Date: 11/17/94 # Change History: . /u/hsim/other/fax.data/scripts/setvars cd $TMPDIR sed "/^#/d" $DBDIR/db > 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$FN_COLS tmp$$ > fn$$ echo > head$$ echo " The faxes in this list apply to at least some level of this" >> head$$ echo " AIX version. See the fax itself for applicable levels. For" >> head$$ echo " example, some faxes in the AIX 3.2 list may apply only to" >> head$$ echo " AIX 3.2.3 to 3.2.5." >> head$$ echo >> head$$ echo > title$$ echo " AIX 3.1 Faxes (Tips and Hints)" >> title$$ echo >> title$$ paste -d "\0" v31$$ fn$$ | grep "^ y" > tmp$$ sed "s/^ y //" tmp$$ > tmp1$$ cat title$$ head$$ tmp1$$ > $DBDIR/31.faxes echo > title$$ echo " AIX 3.2 Faxes (Tips and Hints)" >> title$$ echo >> title$$ paste -d "\0" v32$$ fn$$ | grep "^ y" > tmp$$ sed "s/^ y //" tmp$$ > tmp1$$ cat title$$ head$$ tmp1$$ > $DBDIR/32.faxes echo > title$$ echo " AIX 4.1 Faxes (Tips and Hints)" >> title$$ echo >> title$$ paste -d "\0" v41$$ fn$$ | grep "^ y" > tmp$$ sed "s/^ y //" tmp$$ > tmp1$$ cat title$$ head$$ tmp1$$ > $DBDIR/41.faxes mail -s "3.2 fax list" romagus@austin.ibm.com <$DBDIR/32.faxes mail -s "4.1 fax list" romagus@austin.ibm.com <$DBDIR/41.faxes rm *$$