Path: utzoo!attcan!uunet!munnari!basser!steve From: steve@basser.oz (Stephen Russell) Newsgroups: comp.os.minix Subject: Re: Wild-card for DOSREAD and DOSWRITE? Message-ID: <1328@basser.oz> Date: 21 Jul 88 16:15:09 GMT References: <26500003@silver> Reply-To: steve@basser.oz (Stephen Russell) Organization: Dept of Comp Sci, Uni of Sydney, Australia Lines: 17 In article <26500003@silver> saini@silver.bacs.indiana.edu writes: > >I wanted to know whether there was a way to use (or simulate) >wild-card in DOSREAD and DOSWRITE. It becomes a pain to copy all the >files individually to minix from DOS. > How about using dosdir to get a list of files, grep for the ones you want, then use command substitution with the shell; ie dosread `dosdir ... | grep funky_stuff` Of course, if the minix sh doesn't support command substitution, save the output of the grep, use gres to convert it to a series of "dosread" commands, then run that through the shell. Lot's of fun - you could even make a shell script of it for future use.