Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!djfiander From: djfiander@watnot.UUCP Newsgroups: comp.sys.ibm.pc Subject: Re: stupid COMMAND.COM (WAS: DOS enviroment size) Message-ID: <12572@watnot.UUCP> Date: Sun, 8-Mar-87 12:54:20 EST Article-I.D.: watnot.12572 Posted: Sun Mar 8 12:54:20 1987 Date-Received: Mon, 9-Mar-87 04:36:24 EST References: <2091@ncoast.UUCP> <409500003@prism> <2986@iuvax.UUCP> <12559@watnot.UUCP> <4817@ut-ngp.UUCP> Reply-To: djfiander@watnot.UUCP (David Fiander) Organization: U. of Waterloo, Ontario Lines: 24 Keywords: DOS environment substitutions >> Something that I discovered after getting the MKS toolkit (before they >> had KSH ready for release) was that it is physically impossible to >> pass certain characters to a program on the commandline, specifically >> " ' * ? | etc. > ^ ^ ^ ^ ^ >I wrote a quicky C program which contained just printf("%s\n", argv[1]); >I could pass all of those characters highlighted above and also < and >. >The only thing I had to do is enclose | < and > in double quotes. ... > This is for PC-DOS 3.1 on an IBM PC XT. > > Don Nash Oops, * and ? are passed inside double quotes (sorry), but under DOS 3.0 the others are still not passed. I know this because I tried to use '|' in an egrep pattern. DOS passed the first part of the pattern to egrep and tried to execute the second part. -- "I don't want to achieve immortality through my work. I want to achieve immortality through not dying" - Woody Allen UUCP : {allegra,ihnp4,decvax,utzoo,clyde}!watmath!watnot!djfiander CSNET : djfiander%watnot@waterloo.CSNET