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

[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: Eduardo Ochs
Subject: Re: how to send lines of a shell script directly to the shell
Date: Sun, 16 Apr 2023 12:31:24 -0300

On Sun, 16 Apr 2023 at 05:54, Uwe Brauer <oub@mat.ucm.es> wrote:
>
> Hi
>
> I have to execute a series of commands like
>
> git checkout strings
> mygit-push-named-branch strings
> etc
>
> It is a list of these commands in a file. I can call
> M-x shell
>
> And then copy each line to the shell where it is executed.
>
> Is there any faster way, a command like
> execute this line via the shell.
>
> I googled but cannot find anything.
>
> Regards
>
> Uwe Brauer


Hi Uwe,

take a look at this too:

  http://anggtwu.net/eepitch.html
  http://anggtwu.net/eepitch.html#trying-it
  http://anggtwu.net/emacsconf2021.html

The instructions at the "Trying it" are very simple and there's a very
nice demo in the first 30 seconds of my presentation at the
EmacsConf2021. The easiest way to watch it with subtitles is here,

  http://www.youtube.com/watch?v=qM0Luz78qGw

and the easiest way to create the 3-line block that sets up the target
buffer is explained here:

  http://anggtwu.net/eev-intros/find-eev-quick-intro.html#6.3

Cheers =),
  Eduardo Ochs
  http://anggtwu.net/#eev



reply via email to

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