Path: utzoo!attcan!uunet!husc6!uwvax!rutgers!rochester!cornell!uw-beaver!uw-june!uw-entropy!dataio!suvax1!woodman From: woodman@suvax1.UUCP (David Woodman) Newsgroups: comp.os.minix Subject: Re: Wild-card for DOSREAD and DOSWRITE? Summary: Answer: shell scripts Message-ID: <1170@suvax1.UUCP> Date: 23 Jul 88 05:58:26 GMT References: <26500003@silver> Organization: Seattle University, Seattle, WA. Lines: 25 This may be kind of dumb, but I use a shell script. Recipe follows - dosdir 0 > out1 (remove leading and trailing stuff from out1, leaving only filenames) ( I haven't written a script to do this but I should. ) tr "[A-Z]" "[a-z]" < out1 > out2 rm out1 for i in `cat out2` do echo $i dosread -a 0 $i > $i done - And that does it. If your industrious enough, you may want to write a more robust (flexible) script and post it. So far, I just keep re-making the wheel when I need it. ------------------------------------------------------------------------------ David Woodman UUCP: ...!uw-entropy!dataio!suvax1!woodman Seattle University USNail: P.O. Box 23202, Seattle WA 98102 Phone: (206) 223-9470 ------------------------------------------------------------------------------