help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: command output into buffer


From: Fernando Dobladez
Subject: Re: command output into buffer
Date: Sun, 14 Apr 2002 09:12:29 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020311

M-!   Execute a command
C-u M-!   Execute command and insert output in current buffer
M-|   Execute command passing the current region as stdin to the command.
C-u M-| Execute command passing the current region as stdin to the command, and replace the region with the stdout of the command (filter)

Dear All,

How to insert the output of a shell command at point?  For example,
currently if I want to insert the output of the ls command then I
normally run the command in the xterm and cut-paste the output into
the emacs buffer.

But I think there is a way to insert the output into the buffer
automatically.  Can anybody help?

Thank you for your time.

Cheers,
anna







reply via email to

[Prev in Thread] Current Thread [Next in Thread]