🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #12140

Re: kill based on #lines in TRN

#12140
From: lvirden
Date: Wed, 26 Oct 1994 19:43
11 lines
1630 bytes
Of course, you could trim that down a bit by:
/./ca:%(%`awk 'END {if (NR > 100) {print 1} else {print 0}}' < %A`=^1?-:j)

and you lose one excess process - you had to read the whole file into 
wc anyways - might was well let awk do the counting itself.
-- 
:s Great net resources sought...
:s Larry W. Virden                 INET: lvirden@cas.org
:s <URL:http://www.mps.ohio-state.edu/cgi-bin/hpp?lvirden_sig.html>
The task of an educator should be to irrigate the desert not clear the forest.
Technical Details
Message-ID: <1994Oct26.194338.15828@chemabs.uucp>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!xlink.net!xlink100!smurf.noris.de!msn!faulrs!fauern!news.th-darmstadt.de!terra.wiwi.uni-frankfurt.de!zeus.rbi.informatik.uni-frankfurt.de!news.dfn.de!swiss.ans.net!gatech!news-feed-1.peachnet.edu!news.duke.edu!news.mathworks.com!yeshua.marcam.com!zip.eecs.umich.edu!caen!malgudi.oar.net!chemabs!lwv26
References: <38doao$juk@apakabar.cc.columbia.edu> <38hfv0$qu5@hptemp1.cc.umr.edu> <1994Oct25.121036.7604@chemabs.uucp> <1994Oct26.102237.16391@pcg.com>

Show Full Headers
Complete Article Headers
Message-ID: <1994Oct26.194338.15828@chemabs.uucp>
Subject: Re: kill based on #lines in TRN
Date: Wed, 26 Oct 1994 19:43:38 GMT
From: lvirden@cas.org
References: <38doao$juk@apakabar.cc.columbia.edu> <38hfv0$qu5@hptemp1.cc.umr.edu> <1994Oct25.121036.7604@chemabs.uucp> <1994Oct26.102237.16391@pcg.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!xlink.net!xlink100!smurf.noris.de!msn!faulrs!fauern!news.th-darmstadt.de!terra.wiwi.uni-frankfurt.de!zeus.rbi.informatik.uni-frankfurt.de!news.dfn.de!swiss.ans.net!gatech!news-feed-1.peachnet.edu!news.duke.edu!news.mathworks.com!yeshua.marcam.com!zip.eecs.umich.edu!caen!malgudi.oar.net!chemabs!lwv26
Newsgroups: news.software.readers
Content-Type: text/plain; charset=US-ASCII
Sender: lwv26@chemabs.uucp (Larry W. Virden)
Reply-To: lvirden@cas.org
Content-Transfer-Encoding: 7BIT
Organization: Nedriv Software and Shoe Shiners, Uninc.
Mime-Version: 1.0
Lines: 11