Call for testing: The Bourne Again SHell(Bash) (UNOFFICIAL, EXPERIMENTAL)

I would like to announce a call of testing for the bash-brlin snap. Bash is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh).

Currently, the snap is in strict confinement with only regular file access, you may run some scripts there but there’s very limited external command access, etc.

You may build the snap and run it in classic-confinement by flipping the confinement key’s value from strict to classic and comment the plug keys content in the recipe and rebuild the snap from source.

How to install

sudo snap install bash-brlin
sudo snap alias bash-brlin.bash-brlin bash

How to use

bash-brlin _script_file_

PATH=/snap/bin:"${PATH}"
bash --version

What to test

  • Can you properly launch the application?
  • Can you use all built-in commands without problems?
  • Can you run scripts without external command access without problems?
  • Do you notice any problems during running the application?

How to contribute

Here’s the source repository of the snap: https://github.com/Lin-Buo-Ren/bash-snap

1 Like

Bash is preinstalled on all core systems. What are you trying to achieve with a confined version?

What are you trying to achieve with a confined version?

I am rather like to request classic confinement for it so that it can have regular access in a classic system. In this case one can run scripts that requires recent Bash syntax.