From: Bud Rogers <budr@sirinet.net>
Subject: Re: pipe filter output to file?
Date: 08 Oct 1998 23:13:46 -0500 [thread overview]
Message-ID: <m2iuhuid8l.fsf@twocups.sirinet.net> (raw)
In-Reply-To: Wes Hardaker's message of "08 Oct 1998 13:25:39 -0700"
Wes Hardaker <wjhardaker@ucdavis.edu> writes:
> >>>>> On 08 Oct 1998 13:07:29 -0500, Bud Rogers <budr@sirinet.net> said:
>
> Bud> I've tried Washing->Unix pipe and Output->pipe through a filter,
> Bud> but I can't seem to get either to do what I want. Has anybody
> Bud> done this? Could I get a look at your code?
>
> Doesn't something like
> M-| grep stuff >> file
>
> work?
Hmm. I get either 'There is no region now' or "Shell command completed
with no output' depending on where point is.
If I use 'Output->pipe through a filter' to a one-liner containing my grep
statement, I get the message body cleaned of everything except the line I'm
after, but that's not what I need. What I need is to send that line out to
a file. I'm getting a couple dozen of these emails a day and I need to
collect those lines so I can feed them into a shell script about once a
day.
Aarrgh. I've learned just enough about [X]emacs and gnus and lisp to know
the power is there if I can just figure it out...
--
Bud Rogers <budr@sirinet.net> http://www.sirinet.net/~budr/zamm.html
formerly <budr@tanet.net>
next prev parent reply other threads:[~1998-10-09 4:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-08 18:07 Bud Rogers
1998-10-08 20:25 ` Wes Hardaker
1998-10-09 4:13 ` Bud Rogers [this message]
1998-10-09 16:09 ` Wes Hardaker
1998-10-09 8:52 ` Kai Grossjohann
1998-10-09 16:39 ` Bud Rogers
1998-10-09 16:50 ` Kai Grossjohann
1998-10-11 15:09 ` Bud Rogers
1998-10-11 16:31 ` Lars Magne Ingebrigtsen
1998-10-11 17:54 ` Bud Rogers
1998-10-11 17:59 ` Lars Magne Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2iuhuid8l.fsf@twocups.sirinet.net \
--to=budr@sirinet.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).