File:  [CSRG BSD Unix] / 43BSD / contrib / notes / utility / seq-cvt / convseq.sh
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:54 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

: This shell script executes the program which converts the
:	binary dates in the named sequencer file to ascii

for i
do

case $i in

all)	old = `pwd`
	cd /usr/notes/.sequencer
	for j in `ls [a-z]*`
	do
	/usr/local/seqtoascii /usr/notes/.sequencer/$j > /tmp/seq/$j
	done
	echo "All intermediate sequencer files are in /tmp/seq."
	echo "    Transfer these files to /tmp/seq on the target machine,"
	echo "    log in to the target machine, then execute 'restseq all'."
	cd $old
	;;
*)
	/usr/local/seqtoascii /usr/notes/.sequencer/$i > /tmp/seq/$i
	echo "Your intermediate file is /tmp/seq/$i."
	echo "    Transfer this file to /tmp/seq on the target machine,"
	echo "    log in to the target machine, then execute 'restseq $i'."
	;;

esac

done

unix.superglobalmegacorp.com

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