xref: /freebsd/bin/sh/tests/parser/dollar-quote1.0 (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
1# $FreeBSD$
2
3set -e
4
5[ $'hi' = hi ]
6[ $'hi
7there' = 'hi
8there' ]
9[ $'\"\'\\\a\b\f\t\v' = "\"'\\$(printf "\a\b\f\t\v")" ]
10[ $'hi\nthere' = 'hi
11there' ]
12[ $'a\rb' = "$(printf "a\rb")" ]
13