Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!lll-lcc!ptsfa!pttesac!vanam From: vanam@pttesac.UUCP (Marnix van Ammers) Newsgroups: comp.sys.amiga Subject: Re: Pattern Matching & documentation Message-ID: <357@pttesac.UUCP> Date: Sat, 13-Dec-86 18:51:19 EST Article-I.D.: pttesac.357 Posted: Sat Dec 13 18:51:19 1986 Date-Received: Tue, 16-Dec-86 21:17:35 EST References: <954@blia.BLI.COM> <1731@jade.BERKELEY.EDU> Reply-To: vanam@pttesac.UUCP (-Root Admin-) Organization: Pacific*Bell ESAC, San Francisco Lines: 26 In article <1908@jade.BERKELEY.EDU> mwm@eris.BERKELEY.EDU (Mike (Don't have strength to leave) Meyer) writes: >In article <3313@curly.ucla-cs.UCLA.EDU> cc1@locus.ucla.edu (Michael Gersten) writes: >>As for shell scripts, I'm not sure I understand the question/complaint. > >Consider a shell script: > > for i in $* > do > echo $i > done > >which acts like echo, but puts each word on a seperate line. Now, try >convincing it to echo a "*". Notice that your quoting mechanisms don't >work right. Maybe I don't understand exactly what you're trying to do, but it seems to work just fine here (I'm running on Sys V release 2 unix) if I type 'echo "*"', the system echoes an asterisk. All I have to do is quote it. If I want to pass a '*' on the command line, I also quote it. If I want to pass a quoted '*' on the command line, then I quote the quote with a backslash as in '\*'. In any case, to put in my 2 cents, I want to see the CLI do consistent file name expansion. I don't want each individual program to do it in it's own way. I don't have any problems with file name expansion with the unix shell, and I don't see why I would with my Amiga.