Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site rlgvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!decwrl!amd!noao!hao!seismo!rlgvax!guy From: guy@rlgvax.UUCP Newsgroups: net.news,net.eunice Subject: Re: Origin of the name grep (actually Eunice!) Message-ID: <152@rlgvax.UUCP> Date: Thu, 27-Sep-84 03:25:56 EDT Article-I.D.: rlgvax.152 Posted: Thu Sep 27 03:25:56 1984 Date-Received: Sat, 29-Sep-84 09:19:43 EDT References: <1082@t4test.UUCP> <1084@t4test.UUCP>, <341@genrad.UUCP> <17@watcgl.UUCP> Organization: CCI Office Systems Group, Reston, VA Lines: 18 > This scheme won't work right in situations where different newsgroups > are expired in differing lengths of time, since you lose UNIX's "all links > have equal status" property. But then, it only required about 30 seconds > to think of - you should be able to do better with a bit more thought. A suggestion, from a VMS non-wizard: Use links (i.e., multiple directory entries pointing to the same file), but replace the "unlink" routine by one that just removes the link and doesn't delete the file (or "mark the file for deletion" or whatever). Keep a reference count in the history file, and delete the file when the last link disappears. Will this work? Can a user-mode Eunice program do all this, or do you have to be running in supervisor or executive mode or not be built from Eunice to create/delete directory entries and mark files for deletion? Guy Harris {seismo,ihnp4,allegra}!rlgvax!guy