Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!ucbvax!iwarp.intel.com!news From: merlyn@iwarp.intel.com (Randal Schwartz) Newsgroups: comp.lang.perl Subject: Re: Recent patches Message-ID: <1990Aug22.062517.25360@iwarp.intel.com> Date: 22 Aug 90 06:25:17 GMT References: Sender: news@iwarp.intel.com Reply-To: merlyn@iwarp.intel.com (Randal Schwartz) Distribution: comp Organization: Stonehenge; netaccess via Intel, Beaverton, Oregon, USA Lines: 21 In-Reply-To: ripley@opal.cs.tu-berlin.de (Hans-Ch. Eckert) In article , ripley@opal (Hans-Ch. Eckert) writes: | In the recent patches, there have been many lines starting with 'Subject:'. | Is there any reason for this? Using 'grep ^Subj *' in the spool-directory | to search for the patches and other interesting things is impossible :-( Larry's trying to keep you from using grep, knowing that Perl will do the job. Use: perl -ne 'print "$ARGV: $_" if /^Subject:/; close(ARGV) if /^$/' * instead. It's probably faster anyway, since you don't have to look all the way through each file. :-) print "Just another Perl [book] hacker," -- /=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\ | on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III | | merlyn@iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn | \=Cute Quote: "Welcome to Portland, Oregon, home of the California Raisins!"=/