Next: Shells, Previous: Dired, Up: Practicals [Index]
The following shell commands work on generic buffers.
Keys | Description |
---|---|
M-! | Calls shell command and prints output |
C-u M-! | As above, but inserts into buffer |
M-& | Like M-! but asynchronous |
C-u M-& | Like C-u M-! but asynchronous |
M-pipe | Pipes region to shell command |
C-u M-pipe | Likes M-pipe, but replaces region |
Invoke any shell command; output is printed to the mini-buffer if it is only a small amount, or to a dedicated buffer otherwise. Add a prefix argument to insert the output into the buffer.
Takes the region as input and sends it to the standard input of a shell command, and returns the output to either the mini-buffer or a dedicated buffer. Add a prefix argument to replace the region with the shell output.