Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!brl-adm!adm!es!Robert_Toxen%anvil.UUCP@harvard.HARVARD.EDU From: Robert_Toxen%anvil.UUCP@harvard.HARVARD.EDU Newsgroups: comp.unix.wizards Subject: csh scripts; nroff indices; children; UNIX diffs Message-ID: <1576@brl-adm.ARPA> Date: Tue, 16-Dec-86 14:19:36 EST Article-I.D.: brl-adm.1576 Posted: Tue Dec 16 14:19:36 1986 Date-Received: Wed, 17-Dec-86 19:03:30 EST Sender: news@brl-adm.ARPA Lines: 51 I have used the following method to allow Bourne shell users to run csh scripts without hacking /bin/sh or exec(): /bin/csh << _foo_ csh script ... _foo_ ----------------------------------------- Subject: indices from nroff I solved the index problem by writing a macro, which I invoked manually each time a word should be put into the index. This macro used the ".tm \$1 \n%" macro to spit the word and its page number onto stderr (file descriptor 2). I then ran this file through nroff/troff again and printed it. Before printing it I ran it through sort and joined references to the same word with awk and sed. I used the line continuation sequence "\c" to inhibit a possible page break between the word in text and its invocation in the macro. I no longer have a copy of the scripts (sigh) but someone might be able to talk ucbvax!olympus!glen to post them to unix-wizards. ----------------------------------------- Subject: children inherited by init I don't believe any special action is required by a process (on V7, 4.x, or Sys V) to allow its children to be inherited by init upon the death of said process. Additionally signal(2) (Sys V) says that by default a SIGCLD is ignored. ----------------------------------------- Subject: UNIX diffs Several papers have been published (I don't have a list). Additionally the manual "The UNIX Guide" by: Pacific Micro Tech 5819 Poinsett Ave. El Cerrito, CA 94530 415-234-2815 is quite useful. (I don't know the price or whether it is still being sold.) Bob Toxen Stratus Computer, Marlboro, Mass. {ucbvax!ihnp4}!anvil!bob (Please use THIS address to reply.) "unix is a subset of inextinguishable" (Concept stolen from Roy Smith.)