🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #27509

Re: Odd trn save-to-pipe behavior

#27509
From: John Red-Horse
Date: Wed, 06 Nov 1996 00:00
31 lines
1582 bytes
In article <55mkbm$hlb@packrat.aml.arizona.edu>, 
dsew@packrat.aml.arizona.edu wrote:
>I'm using trn 3.6.  Suppose I'm reading an article that quotes
>excessively, and I want to filter out all the quoted lines.
>An obvious solution would be to use a command like
>
>     |grep -v '^>'
>
>

Actually, a more palatable solution is to use HIDELINE.  From the trn man 
page:

     HIDELINE
             If defined,  contains  a  regular  expression  which
             matches  article  lines  to be hidden, in order, for
             instance, to suppress  quoted  material.   A  recom-
             mended  string  for  this  purpose is "^>...", which
             doesn't hide lines with only '>', to give some indi-
             cation  that  quoted  material is being skipped.  If
             you want to hide more than one pattern, you can  use
             "|"  to separate the alternatives.  You can view the
             hidden lines by restarting the article with the  'v'
             command.


cheers,
john

Technical Details
Message-ID: <55qhi3$887@sloth.swcp.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <55mkbm$hlb@packrat.aml.arizona.edu>

Show Full Headers
Complete Article Headers
Message-ID: <55qhi3$887@sloth.swcp.com>
Subject: Re: Odd trn save-to-pipe behavior
Date: Wed, 06 Nov 1996 00:00:00 +0000
From: jrredho@swcp.com (John Red-Horse)
References: <55mkbm$hlb@packrat.aml.arizona.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 194907589
Organization: None
Newsgroups: news.software.readers