all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Joel Reicher <joel.reicher@gmail.com>
Cc: Help GNU Emacs <help-gnu-emacs@gnu.org>
Subject: Re: Is there REPL for Bash?
Date: Sat, 28 Dec 2024 16:28:44 +0300	[thread overview]
Message-ID: <Z2_9DA-9rkfsgpoj@lco2> (raw)
In-Reply-To: <861pxsbzvq.fsf@gmail.com>

* Joel Reicher <joel.reicher@gmail.com> [2024-12-28 00:07]:
> Jean Louis <bugs@gnu.support> writes:
> 
> > * Joel Reicher <joel.reicher@gmail.com> [2024-12-27 17:18]:
> > > Jean Louis <bugs@gnu.support> writes:
> > > 
> > > > I wonder if there is some REPL for Bash, so that I can write and
> > > > evaluate shell script and see it evaluated in the side window?
> > > 
> > > Bash itself is the REPL for bash.
> > 
> > Sure, I was thinking I could edit a file in one buffer and easily
> > evaluate it in a new shell related to that buffer and file, watching it
> > on the side. 💡📝💻🔍
> 
> If you're editing foo.sh You could do M-x compile and enter something like
> "bash foo.sh" for the compilation. That will achieve this effect as long as
> the script does not require interactive input.

I mean executing commands one by one. There is SQL mode, I can edit
file and then send the paragraphs to the SQL buffer and see the
result.

In shell-script-mode I can evaluate region, but I do not see where is
it evaluated.

My expectation was that it would work as SQL, and I didn't know how it
works. It's not that I do not want to use what is available, I was
asking how.

-- 
Jean Louis



  parent reply	other threads:[~2024-12-28 13:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-27  9:26 Is there REPL for Bash? Jean Louis
2024-12-27 14:17 ` Joel Reicher
2024-12-27 16:14   ` Jean Louis
2024-12-27 21:05     ` Joel Reicher
2024-12-28  7:19       ` tomas
2024-12-28 13:28       ` Jean Louis [this message]
2024-12-28 13:47       ` Jean Louis
2024-12-27 14:36 ` Eduardo Ochs
2024-12-27 16:16   ` Jean Louis

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z2_9DA-9rkfsgpoj@lco2 \
    --to=bugs@gnu.support \
    --cc=help-gnu-emacs@gnu.org \
    --cc=joel.reicher@gmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.