Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site Glacier.ARPA
Path: utzoo!watmath!clyde!burl!ulysses!allegra!oliveb!Glacier!reid
From: reid@Glacier.ARPA (Brian Reid)
Newsgroups: net.news
Subject: Re: subscribers script
Message-ID: <11824@Glacier.ARPA>
Date: Sun, 15-Sep-85 01:29:11 EDT
Article-I.D.: Glacier.11824
Posted: Sun Sep 15 01:29:11 1985
Date-Received: Mon, 16-Sep-85 00:15:56 EDT
References: <2161@ukma.UUCP> <2166@ukma.UUCP> <619@decuac.UUCP>
Reply-To: reid@Glacier.UUCP (Brian Reid)
Organization: Stanford University, Computer Systems Lab
Lines: 11
Summary: cheap and easy way to find all the .newsrc files

Oh come on, people! Here is how to find the .newsrc files without searching
the entire file system:

awk -F: '{printf "if test -f %s/.newsrc; then echo %s/.newsrc; fi\n",$6,$6}'  $filefile

Before you go saying that it ought to be done using ls instead of all those
test -f commands, let me remind you that there is a limit to the size of
argv on an exec, and glacier's /etc/passwd has enough entries to tickle it.
-- 
	Brian Reid	decwrl!glacier!reid
	Stanford	reid@SU-Glacier.ARPA