The printf command offers well-defined behavior following the POSIX standard, which means it works the same way across shells ...
At a basic level, parameter expansion means changing Bash syntax into a value—expanding it. For example: You can change the case of an entire string, or part of it, using only Bash. XDG Base Directory ...