Article View: news.software.readers
Article #27447Odd trn save-to-pipe behavior
From: David Sewell
Date: Mon, 04 Nov 1996 00:00
Date: Mon, 04 Nov 1996 00:00
21 lines
1240 bytes
1240 bytes
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 '^>'
However, this turns out not to work properly unless the start-of-line
anchor is escaped like so:
|grep -v '\^>'
(Ditto for any other command like "sed" using the ^ anchor.)
Is this a bug in trn's command parsing?
--
David Sewell * dsew@packrat.aml.arizona.edu | "Where the earth is dry, the
Dep't of Geosciences, Univ. of Arizona | soul is wisest and best."
WWW: http://packrat.aml.arizona.edu/~dsew/ | --Heraclitus
Technical Details
Message-ID:
<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-mailShow Full Headers
Complete Article Headers
Message-ID: <55mkbm$hlb@packrat.aml.arizona.edu> Subject: Odd trn save-to-pipe behavior Date: Mon, 04 Nov 1996 00:00:00 +0000 From: dsew@packrat.aml.arizona.edu (David Sewell) 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: 194507448 Organization: Department of Geosciences, University of Arizona Nntp-posting-user: dsew Newsgroups: news.software.readers