Fundamentals12 / 17
Up next

Escaping

#!/usr/bin/env bash
# a backslash escapes the next character
echo "a quote: \" and a dollar: \$"
# $'...' interprets backslash escapes like \t and \n
printf '%s\n' $'col1\tcol2'
What you're solving

backslash and $'...' produce literal or control characters