4.2 uucp SUBDIRS ordering?

Tom Truscott trt at rti-sel.UUCP
Tue Feb 26 13:16:52 AEST 1985


One of the last things Bob Gray and I did to the uucp in 4.2 BSD
was clean up the Makefile and add some morsels of documentation.
One feature that did not quite make it was
	make mvspoolfiles
which moved spool files into the appropriate subdirectories.
The code would have been something like
             cd /usr/spool/uucp
             for i in  D.`uuname -l`X D.`uuname -l` D. X. TM. STST.
             do
                     mv $i?* $i
             done
The order of the directories was crucial, hence the warning.
We could never quite get it to work just right (e.g. empty directories)
so 'mvspoolfiles' disappeared, leaving only a scar behind.
	Tom Truscott



More information about the Comp.unix mailing list