🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189268

Telling shell-commmand-on-region where to but buffer????

#189268
From: Walden Leverich
Date: Thu, 14 Mar 1991 18:12
22 lines
1646 bytes
I know, I know RTFM, but the help is unclear to me. If I mark a region
and want to run it through a shell command AND then run the output
through another program how do I do it?

Example:

M-x shell-command-on-region galahad <REGION> | lpr -Pomlas

where <REGION> is the spot I want to place the marked region.

Thanks for any help you can provide.

-Walden
--
---------------------------------------------------------------------------
Walden H. Leverich III               | Inet: levericw@clutx.clarkson.edu
     ECE Dept.                       | CServ: 73237,2212 <- checked weekly
 Clarkson University                 | SnailMail: Software Solutions
                                     |            PO Box 763
                                     |            Potsdam, NY 13676-0763
#include <std_disclamer_concerning_what_I_say>
--------------------------------------------------------------------------
Technical Details
Message-ID: <LEVERICW.91Mar14101207@cheetah.ece.clarkson.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!samsung!usc!rpi!clarkson!grape.ecs.clarkson.edu!levericw

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,8555c8d1a9a4f9cf,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-03-14 22:36:40 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!samsung!usc!rpi!clarkson!grape.ecs.clarkson.edu!levericw
From: levericw@cheetah.ece.clarkson.edu (Walden Leverich)
Newsgroups: gnu.emacs.help
Subject: Telling shell-commmand-on-region where to but buffer????
Message-ID: <LEVERICW.91Mar14101207@cheetah.ece.clarkson.edu>
Date: 14 Mar 91 18:12:07 GMT
Sender: usenet@grape.ecs.clarkson.edu
Reply-To: levericw@clutx.clarkson.edu (Walden Leverich)
Organization: /home/cheetah.ece/levericw/.organization
Lines: 22