Thread View: news.software.readers
2 messages
2 total messages
Started by Tim Pierce
Mon, 01 Mar 1993 17:38
Conditional Killing in t?rn
Author: 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) /
Re: Conditional Killing in t?rn
Author: Wayne Davison
Date: Wed, 03 Mar 1993 01:29
Date: Wed, 03 Mar 1993 01:29
9 lines
836 bytes
836 bytes
Tim Pierce (twpierce@unix.amherst.edu) wrote: > 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. You might try using something like: /^Lines: .$\|^Lines: ..$/h:j .wayne..
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads