NNBnh / status2signal

πŸ“‘ Status code to signal name converter

Home Page:https://github.com/info-mono/status2signal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

status2signal

Status code to signal name converter

License: GPL-3.0 Development completed

πŸ’‘ About

status2signal is a tool to convert status code to signal name written in portable sh inspired by Fish's fish_status_to_signal command.

πŸš€ Setup

🧾 Dependencies

  • sh to process

πŸ“₯ Installation

πŸ”§ Manually

  • 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

πŸ“¦ Package manager

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.

⌨️ Usage

Run 'status2signal' in the terminal:

status2signal STATUSCODES

πŸ’Œ Credits

Special thanks to:






Made with ❀️ by NNB

Buy Me a Coffee

About

πŸ“‘ Status code to signal name converter

https://github.com/info-mono/status2signal

License:GNU General Public License v3.0


Languages

Language:Shell 88.2%Language:Makefile 11.8%