#!/usr/bin/env bash# a backslash escapes the next characterecho"a quote: \" and a dollar: \$"# $'...' interprets backslash escapes like \t and \nprintf'%s\n' $'col1\tcol2'
What you're solving
backslash and $'...' produce literal or control characters