Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!sundc!hadron!jsdy From: jsdy@hadron.UUCP (Joseph S. D. Yao) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: Mysterious error message: scenario please Message-ID: <293@hadron.UUCP> Date: Thu, 11-Dec-86 22:25:51 EST Article-I.D.: hadron.293 Posted: Thu Dec 11 22:25:51 1986 Date-Received: Sun, 14-Dec-86 19:16:38 EST References: <1369@umd5> Reply-To: jsdy@hadron.UUCP (Joseph S. D. Yao) Distribution: net Organization: Hadron, Inc., Fairfax, VA Lines: 17 Keywords: system(), identifier Summary: More on environment vars Xref: mnetor comp.unix.questions:331 comp.unix.wizards:335 In article <1369@umd5> don@umd5 (Chris Sylvain) writes: >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". Got the same message by using Bell's scheme for logging into a chroot'ed shell in System V. In that case, the environment var list was trashed to put a funny SUB-LOGIN symbol. The Bourne shell saw this, and had fits. System() also uses the Bourne shell, perforce (unless you've modified it the way I did mine). Somehow, you're getting a weird environment string in that says "00" something. You may be trashing your stack. -- Joe Yao hadron!jsdy@seismo.{CSS.GOV,ARPA,UUCP} jsdy@hadron.COM (not yet domainised)