Scientific Operations Bellum Gratia Artis

testing - 1998 - May - this message

[ previous , next ]

Subject: re: [9fans] u9fs and

From: "Russ Cox" <rsc@[REDACTED]>
Date: Wed, 20 May 1998 08:45:52 -0400

I had a similar problem a couple months ago and solved
it with disk space. I copied the entire CD onto a Unix
disk and then did something approximately:

cat | sed 's/^F/f/g;s/^D/d/g' | sort > $HOME/

% cat $HOME/fix

for i in *
if test -d $i
(cd $i; $HOME/fix)

for i in d00* f00*
x=`look $i $HOME/`
mv $i $x
% cd $HOME/plan9cd
% $HOME/fix

which worked pretty well. A warning: I just
typed that shell script on the fly while writing this
message. I can't find the one I used when I did it,
but that conveys the basic gist.