From: utzoo!decvax!harpo!duke!mcnc!rlgvax!guy
Newsgroups: net.unix-wizards
Title: Re: Re: Re: rm ABC*
Article-I.D.: rlgvax.1067
Posted: Sat Feb 19 02:32:10 1983
Received: Sun Feb 20 09:59:36 1983


Close, but no cigar, as we say.  The UNIX shell will strip off the 8th bit
of the file name when it expands the "*", and as such rm will get called
by the equivalent of:

	execl("/bin/rm", "rm", "-i", "ABC\001", (char *)NULL);

and will reply "ABC\001 non-existent".  Unless the C shell or whatever other
shell you are running doesn't strip off the \200, you can't GET a string
containing a character with its 8th bit on to a program through the shell.

					Guy Harris
					RLG Corporation
					...!decvax!mcnc!rlgvax!guy