Learned a few things when modifying https://github.com/gkotian/gautam_linux/blob/master/scripts/colours.sh
Note: `printf` supports emitting `ESC` (ASCII character `\033` aka `27` aka `0x1B`)as `\e` the same way that `echo` does https://linux.die.net/man/1/printf https://linux.die.net/man/1/echo Format strings are at https://linux.die.net/man/3/printf %-10s means left adjusted (aligned) string of length 10
–jeroen
via:
I was investigating how the colour definitions on my OpenSuSE system actually work internally so I added some extra output: ${TYPE} and ${COLOUR}.