Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!david From: david@utzoo.UUCP (David Trueman) Newsgroups: hacknews Subject: System 5 shell installed Message-ID: <3644@utzoo.UUCP> Date: Wed, 14-Mar-84 16:41:22 EST Article-I.D.: utzoo.3644 Posted: Wed Mar 14 16:41:22 1984 Date-Received: Wed, 14-Mar-84 16:41:22 EST Organization: U of Toronto Zoology Lines: 30 We are now running the System 5 shell with some local modifications: echo(1) has been built in, the "bye" command has been added and various incompatabilities with V7 have been fixed. There are a number of changes with respect to the V7 shell: - test(1) is built in and has several new options - the "cd" command will search a number of directories specified by the CDPATH environment variable - the # character begins a comment; the rest of the line is ignored - "here documents" beginning with <<- have leading tabs stripped - parameter substitutions using curly braces and with a colon after the parameter name treat a null parameter the same as unset - '--' indicates the end of shell options on the command line or when using the "set" command - use of '+' inoptions or with "set" turns the option(s) off - a login shell reads from /etc/profile before $HOME/.profile - the "shift" command takes a number argument - in filename matching, if the first character of a character class (indicated by []) is '!', then the sense of the match is reversed - process creation is done more carefully: repeated attempts are made to fork at ever-increasing intervals up to a limit, and then it quits - signal 11 (segmentation violation) cannot be trapped - only signals 2, 3, 14, 15 are caught by default (in V7 all signals were caught, even if the action taken was to die immediately) In general, a number of bugs have been fixed, and more care is taken to maintain the correct exit code. -- David Trueman @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!david