Article View: news.software.readers
Article #3458Conditional Killing in t?rn
From: Tim Pierce
Date: Mon, 01 Mar 1993 17:38
Date: Mon, 01 Mar 1993 17:38
17 lines
1299 bytes
1299 bytes
Someone recently asked me if, using rn 4.4, it would be possible to kill every post in a newsgroup that's less than a hundred lines long. The only think I could think of was something like this: //:|treefrog:j where "treefrog" is an alias or script that runs "wc -l" on its input and checks the output to see how many lines were counted. But in order for this to work, the return status of treefrog would have to determine whether or not the "j" command gets executed. Am I barking up the right tree on this one, or is this just flat-out impossible in rn 4.4? -- ____ Tim Pierce / \ / twpierce@unix.amherst.edu / Rocks say goodbye. \/ (BITnet: TWPIERCE@AMHERST) /
Technical Details
Message-ID:
<C380zn.J8B@unix.amherst.edu>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!sparky!uunet!ulowell!umassd.edu!nic.umass.edu!news.amherst.edu!twpierceShow Full Headers
Complete Article Headers
Message-ID: <C380zn.J8B@unix.amherst.edu> Subject: Conditional Killing in t?rn Date: Mon, 1 Mar 1993 17:38:11 GMT From: twpierce@unix.amherst.edu (Tim Pierce) 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!sparky!uunet!ulowell!umassd.edu!nic.umass.edu!news.amherst.edu!twpierce Newsgroups: news.software.readers Organization: Blasny Blasny, Consolidated (Amherst, MA Offices) Lines: 17