# !/bin/ksh # Author: EHR 01/16/96 # Change History: This file will only need to be used for a short # while. It will get all the files assoc. with a group # so that I can migrate these files to .html and keep track . /u/hsim/other/fax.data/scripts/setvars cd $TMPDIR # remove limited-l files sed "/^#/d" $DBDIR/db > tmp$$ sed "/! limited-l/d" tmp$$ > tmp1$$ mv tmp1$$ tmp$$ # get all the files by group $1 grep " $1 " tmp$$ > tmp1$$ # get the following from db: fn,vm,v31,v31,v41 cut -c$VM_COLS tmp1$$ > vm$$ cut -c$V31_COLS tmp1$$ > v31$$ cut -c$V32_COLS tmp1$$ > v32$$ cut -c$V41_COLS tmp1$$ > v41$$ cut -c$FN_COLS tmp1$$ > fn$$ paste vm$$ v31$$ v32$$ v41$$ fn$$ > tmp$$ mv tmp$$ $1.list # remove tmp files rm *$$