Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!uwvax!puff!kailhofe From: kailhofe@puff.wisc.edu (Andrew D. Kailhofer) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: PS1 and the bourne shell... Message-ID: <1311@puff.wisc.edu> Date: Tue, 24-Nov-87 03:53:35 EST Article-I.D.: puff.1311 Posted: Tue Nov 24 03:53:35 1987 Date-Received: Fri, 27-Nov-87 21:47:29 EST References: <279@caus-dp.UUCP> Reply-To: kailhofe@puff.WISC.EDU (Andrew D. Kailhofer) Organization: U of Wisconsin CS Dept Lines: 23 Keywords: Brain dead system... Summary: Heh! DOS this isn't! Xref: mnetor comp.unix.questions:5066 comp.unix.wizards:5589 In article <279@caus-dp.UUCP> marcos@caus-dp.UUCP (Marcos R. Della) writes: >We are running Xenix Revision 3.4 from Intel and the Bourne shell >won't let us do things like the following... > [ src deleted ] > >The program bombs at the cd() statment and returns the statment: >-sh: syntax error: `(' unexpected > >Any ideas on whats wrong and what might be done in another method to >correct the problem that we seem to be having? We have tested this It doesn't work because the cd is one the few things that are really don in the kernel (you won't find /bin/cd anywhere), and the kernel doesn't like to alias the things that it does. What it thins you are doing is trying to cd to somewhere, but when it starts to get the somewhere, it finds an unknown and unlookedfor '(', and barfs ------ Andrew D. Kailhofer |507 VanVleck Hall | This third left Systems Consultant |Madison, WI 53706 | blank for reasons UW-Madison Math Department |(608) 263-4189 | of national kailhofe@weaver.math.wisc.edu |I wrote it, it's _mine_!| security (spooks and ...!uwvax!vanvleck!kailhofe |Bansplaft! | all that stuff).