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: new shell with `set --' fix and shell accounting Message-ID: <4556@utzoo.UUCP> Date: Tue, 30-Oct-84 15:04:23 EST Article-I.D.: utzoo.4556 Posted: Tue Oct 30 15:04:23 1984 Date-Received: Tue, 30-Oct-84 15:04:23 EST Organization: U of Toronto Zoology Lines: 17 I have installed a new sh(1) with two changes: `set --' now works to set `$#' to 0 (and cancel all positional args.), and code for accounting of shell processes is now compiled in. The first fix was described a few days ago on net.bugs.usg. The second change goes along with the turning-on of kernel accounting yesterday. The kernel accounting records the execution of a shell file as just another invocation of the shell; the shell accounting code will fill in this gap, so that we can get a more complete set of data for activity on the system. Note, that the shell accounting is not yet turned on; that is done by having a non-null environment variable `SHACCT' which points to a file in which to store the information. Somne provision for setting `SHACCT' on a system-wide basis is yet to come. -- David Trueman @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!david