3 ms·
Store the sequences in variables and put those instead. You get readability and locality!
by tomc1985 5y ago
Store the sequences in variables and put those instead. You get readability and locality!
- nick__m 5y agoI was about to post the exact same reply so I will post it as an example: #!/bin/sh BLUE=$(tput setaf 4) RST=$(tput sgr0) echo "I'm ${BLUE}blue${RST}."