Article View: comp.emacs
Article #3229Re: insert shell output
From: Assar Westerlund
Date: Sat, 12 Dec 1992 01:54
Date: Sat, 12 Dec 1992 01:54
16 lines
1336 bytes
1336 bytes
In article <SPENO.92Dec10150535@bluegill.rutgers.edu> speno@bluegill.rutgers.edu (John P. Speno) writes: Is there an emacs function which will insert the output from a shell command into the current buffer? Something like what shell-command-on-region does but in the current buffer. shell-command-on-region: Execute string COMMAND in inferior shell with region as input. Normally display output (if any) in temp buffer; Prefix arg means replace the region with it. Noninteractive args are START, END, COMMAND, FLAG. Noninteractively FLAG means insert output in place of text from START to END, and put point at the end, but don't alter the mark. That is. Mark an empty region, then execute shell-command-on-region with an prefix argument.
Technical Details
Message-ID:
<D90-AWE.92Dec12025405@dront.nada.kth.se>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!kth.se!news.kth.se!d90-aweReferences:
<SPENO.92Dec10150535@bluegill.rutgers.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.emacs Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!kth.se!news.kth.se!d90-awe From: d90-awe@dront.nada.kth.se (Assar Westerlund) Subject: Re: insert shell output In-Reply-To: speno@bluegill.rutgers.edu's message of 10 Dec 92 20:05:35 GMT Message-ID: <D90-AWE.92Dec12025405@dront.nada.kth.se> Sender: usenet@kth.se (Usenet) Nntp-Posting-Host: dront.nada.kth.se Organization: Royal Institute of Technology, Stockholm, Sweden References: <SPENO.92Dec10150535@bluegill.rutgers.edu> Distribution: comp.emacs Date: Sat, 12 Dec 1992 01:54:05 GMT Lines: 16