Status code to signal name converter
status2signal
is a tool to convert status code to signal name written in portable sh
inspired by Fish's fish_status_to_signal
command.
sh
to process
- Option 1: using
curl
curl https://raw.githubusercontent.com/NNBnh/status2signal/main/bin/status2signal > ~/.local/bin/status2signal
chmod +x ~/.local/bin/status2signal
- Option 2: using
git
git clone https://github.com/NNBnh/status2signal.git ~/.local/share/status2signal
ln -s ~/.local/share/status2signal/bin/status2signal ~/.local/bin/status2signal
For bpkg
user:
bpkg install NNBnh/status2signal
For Basher user:
basher install NNBnh/status2signal
If you can and want to port status2signal to other package managers, feel free to do so.
Run 'status2signal' in the terminal:
status2signal STATUSCODES
Special thanks to:
Made with β€οΈ by NNB