TLDR Tech / Dev
A shell colon does nothing. Use it anyway
The shell colon, a null-command that appears to do nothing, can simplify shell script functionality by streamlining error handling and setting default values through parameter expansion. Its usage can make script readability better and reduce the potential for errors.
Read the full story