Mysterious error message: scenario please

jerryp at tektools.UUCP jerryp at tektools.UUCP
Sun Nov 23 00:02:13 AEST 1986


In article <1369 at umd5> don at umd5 (Chris Sylvain) writes:
> []
> I'd like to know just what could possibly be causing the following error
> message in response to a call to system() with a string that if typed
> by hand to a shell works just fine -- "00: is not an identifier".

[I've redirected followups to comp.unix.questions only.]

I haven't checked into *why* your message is happening, but I can reproduce
it.  If your environment is trashed (has an environment variable with a bad
name), you can get the message.  Here's an example from 4.3BSD... the Bourne
shell never starts:

	Script started on Sat Nov 22 05:49:49 1986
	$ /bin/csh -f
	% setenv "FOO bar" trash
	% sh
	FOO bar=trash: is not an identifier
	%

--Jerry Peek, Tektronix, Inc.
US Mail:    MS 74-900, P.O. Box 500, Beaverton, OR 97077
uucp:       {allegra,decvax,hplabs,ihnp4,ucbvax}!tektronix!tektools!jerryp
CS,ARPAnet: jerryp%tektools at tektronix.csnet
Phone:      +1 503 627-1603



More information about the Comp.unix.wizards mailing list