misc_scripts/README.md

911 B

Miscellaneous scripts

Various scripts I use/used for common tasks

Shell scripts

Most of these shell scripts are made for posix shells, and tested only on bash and zsh, unless specified. Test on other shells and modify at your own risk.
Note that these two are equivalent:

bash scriptname.sh  # Use your shell in place of bash
./scriptname.sh     # Requires +x permission for execution

Since bash and zsh are mostly identical in synatx, almost all scripts written for either of these work for both of them, and rarely differ in functionality, like the () expansions.
Quick bash reference: bash cheatsheet
Zsh reference: zsh cheatsheet

Other scripts

Other scripts, like the python scripts, are not limited to specific shells, but may require minor changes if they execute shell commands.