🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #2403

Re: Problems specifying regexps when shelling out of trn

#2403
From: Tim Pierce
Date: Mon, 26 Oct 1992 07:56
27 lines
1933 bytes
In article <1992Oct26.011624.4983@ennews.eas.asu.edu> sridhar@homecheese.var.asu.edu (Sridhar Venkataraman) writes:

>twpierce@unix.amherst.edu (Tim Pierce)
>writes on news.software.readers:
>
>)I've run into an odd problem when forking a new shell from trn with
>)the "!" command.  If I attempt to specify certain regular expressions
>)in the shell command, for example "grep '^comp' /usr/lib/news/active",
>)I get no output whatsoever.
>
>Ok, what is the shell you are running? :-)

<blush>  Like *I* shouldn't know enough to say.  Tcsh 6.02.  Ultrix
4.2a, by the way, and trn 4.4.

>My setup involves sh, csh (4.3 BSD tahoe) tcsh  (6.00.02) and trn
>(2.2).

Hm.  Interesting solution, but I'm curious to know why it doesn't work
just by itself.  (I don't usually like solutions that involve macros.
:-) Unless there's some reason for trn to trap characters like ^
before passing them to the shell, it seems like a bug to me.

-- 
____ Tim Pierce                / "You are just naive and repressed because
\  / twpierce@unix.amherst.edu /  penis envy is here and it's now and it's
 \/ (BITnet: TWPIERCE@AMHERST) /  all around you." -- Neal C. Wickham
Technical Details
Message-ID: <Bwpy1x.6Jn@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!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!hamblin.math.byu.edu!news.byu.edu!news.mtholyoke.edu!nic.umass.edu!news.amherst.edu!twpierce
References: <BwoyGv.78@unix.amherst.edu> <1992Oct26.011624.4983@ennews.eas.asu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <Bwpy1x.6Jn@unix.amherst.edu>
Subject: Re: Problems specifying regexps when shelling out of trn
Date: Mon, 26 Oct 1992 07:56:21 GMT
From: twpierce@unix.amherst.edu (Tim Pierce)
References: <BwoyGv.78@unix.amherst.edu> <1992Oct26.011624.4983@ennews.eas.asu.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!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!hamblin.math.byu.edu!news.byu.edu!news.mtholyoke.edu!nic.umass.edu!news.amherst.edu!twpierce
Newsgroups: news.software.readers
Organization: Amherst College, Amherst MA
Lines: 27