Formatteer en toon tekst. Meer informatie: https://www.gnu.org/software/coreutils/printf.
printf "{{%s\n}}" "{{Hallo wereld}}"
printf "{{\e[1;34m%.3d\e[0m\n}}" {{42}}
printf "{{\u20AC %.2f\n}}" {{123.4}}
printf "{{var1: %s\tvar2: %s\n}}" "{{$VAR1}}" "{{$VAR2}}"
printf -v {{mijnvar}} {{"Dit is %s = %d\n" "een jaar" 2016}}
printf "{{hex=%x octal=%o scientific=%e}}" 0x{{FF}} 0{{377}} {{100000}}