Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!uwvax!uwmacc!uwmcsd1!marque!nic From: nic@marque.mu.edu (Nic Bernstein) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: PS1 and the bourne shell... Message-ID: <1926@marque.mu.edu> Date: Thu, 19-Nov-87 08:52:16 EST Article-I.D.: marque.1926 Posted: Thu Nov 19 08:52:16 1987 Date-Received: Sat, 21-Nov-87 19:47:47 EST References: <279@caus-dp.UUCP> Reply-To: nic@marque.UUCP (Nic Bernstein) Organization: Marquette University - Milwaukee, Wisconsin Lines: 23 Keywords: Brain dead system... Xref: mnetor comp.unix.questions:4980 comp.unix.wizards:5520 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... > > export ps1 > cd() > { (function deleted) > } > >The program bombs at the cd() statment and returns the statment: >-sh: syntax error: `(' unexpected > I am not sure about Xenix, but Borne usually doesn't support functions and this is a funcion definition! Later, larger, big system Bourne shells have had an added feature to declare functions but I doubt that yours does. You can have functions in "csh" and "ksh" however. Interesting but, regular MSDOS users have had the benefit of the "csh" shell for some time, might there not be a version for Xenix? - Nic