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

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

Re: Pipe bash file contents to shell


From: Andreas Röhler
Subject: Re: Pipe bash file contents to shell
Date: Thu, 30 Jun 2011 19:49:23 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10

Am 30.06.2011 16:33, schrieb linuxfever:

Hello all,

I was wondering whether there is a way to pass contents of a bash script
file into a shell buffer in Emacs (23.2). For example, if my bash file
contains a single line "ls -al", I would like to highlight that line, and by
pressing a keybind, have the command executed and its output shown in the
shell buffer.

Is it at all possible? Thanks for any suggestions!



shell-command-on-region



reply via email to

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