[hacknews] new shell with `set --' fix and shell accounting

david@utzoo.UUCP (David Trueman) (10/30/84)

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