Annotation of 43BSD/contrib/notes/utility/seq-cvt/restseq.sh, revision 1.1.1.1

1.1       root        1: : This shell script executes the program to convert a sequencer
                      2: :      file with ascii dates into a file with binary dates
                      3: 
                      4: for i
                      5: do
                      6: 
                      7: case $i in
                      8: 
                      9: all)   old = `pwd`
                     10:        cd /tmp/seq
                     11:        for j in `ls [a-z]*`
                     12:        do
                     13:        /usr/local/seqtobinary /usr/notes/.sequencer/$j < /tmp/seq/$j
                     14:        done
                     15:        rm -f /tmp/seq/*
                     16:        cd $old
                     17:        echo "Sequencer file(s) restored."
                     18:        ;;
                     19: 
                     20: *)     /usr/local/seqtobinary /usr/notes/.sequencer/$i < /tmp/seq/$i
                     21:        rm -f /tmp/seq/$i
                     22:        echo "Sequencer file(s) restored."
                     23:        ;;
                     24: 
                     25: esac
                     26: 
                     27: done

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.