termtrick.com
Run
API
Facebook
Twitter
LinkedIn
Copy link
Store a formatted message in a variable (does not work on zsh)
printf
Format and print text.
More information: <https://www.gnu.org/software/coreutils/printf>.
Trick copyright:
tl;dr; <
https://github.com/tldr-pages/tldr
>
printf -v {{myvar}} {{"This is %s = %d\n" "a year" 2016}}
click the source code to copy
install
printf
on any operating system with
command-not-found.com