Gum is a utility that can enhance bash script input and output with minimal effort. It offers commands for prompting for input (lines, lists, yes/no), file picking, and displaying formatted output (markdown, tables, colors, etc.). The article details its features, installation, and provides a practical example using a number guessing game.
Amber is a new language that compiles to bash, offering modern syntax and compile-time checks while outputting a bash script. The article discusses its features, limitations, and provides a simple example of its usage.
A guide to using YAD (Yet Another Dialog) for creating graphical user interfaces with bash scripts. It covers various dialog types, options, and examples.
An article detailing the author's experience replacing bash scripts with Python, outlining the improvements in readability, error handling, and testability, as well as the challenges encountered during the migration.
Dune is a shell designed for powerful scripting, combining elements of bash and Lisp, offering normal shell operations and functional programming abstractions for sysadmin tasks.
Introduction to parameter substitution in Bash scripting
Different types of parameter substitution:
- ${parameter}
- ${parameter-:-word}
- ${parameter-:=word}
- ${parameter-:?word}
- ${parameter-:+word}
- Examples of using parameter substitution, positional parameters and special parameters in Bash