From: Nathan Phillips Newsgroups: comp.os.msdos.djgpp Subject: Re: Forgive my ignorance, but can someone answer a question for me? Date: Thu, 27 Feb 1997 19:43:18 +0000 Organization: Oxford University Lines: 15 Message-ID: References: <857055975 DOT 757446 AT araga DOT funcom DOT com> Reply-To: Nathan DOT Phillips AT St-Hughs DOT ox DOT ac DOT uk NNTP-Posting-Host: ug2.sthughs.ox.ac.uk Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <857055975.757446@araga.funcom.com> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On Thu, 27 Feb 1997, Kurt Skauen wrote: > Eli Zaretskii wrote: > >correct, I think: the shell has no business knowing which arguments are > >filenames and which aren't. Otherwise it would collapse, e.g., Sed > >commands like s/foobar//. > So what are the 'quoting' characters for? To stop wildcard expansion, shell variable expansion, redirection symbols, etc. ie shell assumes names with wildcards in are filenames. | | | | |\ | _ |- |_ _. _ | \| (_| |_ | ) (_| | ) - Nathan DOT Phillips AT St-Hughs DOT oxford DOT ac DOT uk char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}