🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Sridhar Venkataraman Fri, 06 Mar 1992 15:45
How to implement this macro in rn..
#1297
Author: Sridhar Venkataraman
Date: Fri, 06 Mar 1992 15:45
28 lines
1686 bytes
[Since I was not sure it was TCSH's behavior or the shell behavior
or rn's that inhibited my use of the macro I am crossposting to the 3
newsgroups. If you intend to followup, please note that I have marked
the Followup-To line to poster]

Shell: tcsh
Macro in: rn

I am wishing to use the macro of the form:

d |sed -n '/%"Print From: "/,/^[ 	]*$/p'^j
                                ^Space ^Tab

I just want to detect a pattern and print from that till a blank line.
It is failing somewhere and seems to print the entire article. From
what rn outputs on screen it seems that it interprets it as

|sed -n '/%"Print From: "/,/ 	]*$/p'^j

interpreting ^[ not as a start of a r.e. 

Any solution much appreciated. (sh,csh,tcsh,perl,awk,sed)
Thanks to all the folks in advance.

[Please check Newsgroups: and Followup-To: lines]

Sridhar.
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