Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site decuac.UUCP Path: utzoo!watmath!clyde!burl!ulysses!cbosgd!decuac!avolio From: avolio@decuac.UUCP (Frederick M. Avolio) Newsgroups: net.news Subject: Re: subscribers script Message-ID: <619@decuac.UUCP> Date: Fri, 13-Sep-85 15:45:56 EDT Article-I.D.: decuac.619 Posted: Fri Sep 13 15:45:56 1985 Date-Received: Sat, 14-Sep-85 07:26:05 EDT References: <2161@ukma.UUCP> <2166@ukma.UUCP> Organization: ULTRIX Applications Center, MD Lines: 25 Summary: Mods to a nice (but abusive) script I made a few minor change. Two to get it to work. One to lessen its abusiveness to the CPU (while maintaining a high level of abuse...). NEW vs OLD 16c16 < set `date` --- > `date` 23d22 < export selectgroups 174a174 > 185a186 > find $base_dir -mtime -14 -name .newsrc -print >$filefile 187d187 < find /u1/*/.newsrc /u2/*/.newsrc -mtime -14 -print >$filefile Now, you can make the find more general by awk-ing and sed-ing the password file for a list of login directories. But come-on! In any event, no need for "find" to go down each tree so far when you are really only lookign for something on the login directory level. Fred (not Blonder) Avolio