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

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

Re: Is there REPL for Bash?


From: Joel Reicher
Subject: Re: Is there REPL for Bash?
Date: Sat, 28 Dec 2024 08:05:29 +1100
User-agent: Gnus/5.13 (Gnus v5.13)

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.

But this is not what a REPL is, so I'm a bit confused why you say you want a REPL (and also don't want to use the one that already exists).

Regards,

       - Joel



reply via email to

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