From: Eduardo Ochs <eduardoochs@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: how to send lines of a shell script directly to the shell
Date: Sun, 16 Apr 2023 12:31:24 -0300 [thread overview]
Message-ID: <CADs++6gSi_ainHZZUoyEDt8hNSEcL659M+WqT1+kjuWhd7i0ag@mail.gmail.com> (raw)
In-Reply-To: <87h6tgyzq5.fsf@mat.ucm.es>
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
next prev parent reply other threads:[~2023-04-16 15:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-16 8:53 how to send lines of a shell script directly to the shell Uwe Brauer
2023-04-16 9:05 ` tomas
2023-04-16 10:03 ` Uwe Brauer
2023-04-16 12:57 ` tomas
2023-04-16 10:09 ` Uwe Brauer
2023-04-18 18:52 ` Leo Butler
2023-04-18 19:14 ` Emanuel Berg
2023-04-20 20:12 ` Uwe Brauer
2023-04-16 15:31 ` Eduardo Ochs [this message]
2023-04-16 19:47 ` Uwe Brauer
2023-04-22 19:49 ` parozusa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CADs++6gSi_ainHZZUoyEDt8hNSEcL659M+WqT1+kjuWhd7i0ag@mail.gmail.com \
--to=eduardoochs@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).