[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to send lines of a shell script directly to the shell
From: |
Leo Butler |
Subject: |
Re: how to send lines of a shell script directly to the shell |
Date: |
Tue, 18 Apr 2023 18:52:05 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
On Sun, Apr 16 2023, Uwe Brauer <oub@mat.ucm.es> wrote:
>> On Sun, Apr 16, 2023 at 10:53:54AM +0200, Uwe Brauer wrote:
>
>> Ask your Emacs, not Google. Emacs is your friend, Google isn't :)
>
> With a bit better search I obtained
>
> https://stackoverflow.com/questions/6286579/emacs-shell-mode-how-to-send-region-to-shell
>
> Which does what I want
There are several solutions there, you don't mention which you chose.
Anyhow, I recommend keyboard macros. That is generally much faster than
any alternative...if I find myself using a keyboard macro repeatedly,
then I will invest time in finding or writing a better alternative.
Alternatively, org-mode can do pretty much what you want.
Leo