Let's say I have a bash script. Is there a way I can pass specific lines or blocks in the script to terminal process in EMACS? Just like how we do for R script using command C-c R

  • I found that I can highlight the region and use command sh-execute-region (bound to C-M-x). However, every time it is running the command in a new shell process. Is there a way to keep running all subsequent commands in the same shell process? – Veera Jan 21 '20 at 10:41
  • Take a look at stackoverflow.com/questions/6286579/… – Prgrm.celeritas Jan 22 '20 at 2:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.