summary refs log tree commit diff
path: root/bin/1sh/tests/parser/dollar-quote1.0
blob: 12061417e108b41cfc592d5d0be6042dd9116848 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# $FreeBSD$

set -e

[ $'hi' = hi ]
[ $'hi
there' = 'hi
there' ]
[ $'\"\'\\\a\b\f\t\v' = "\"'\\$(printf "\a\b\f\t\v")" ]
[ $'hi\nthere' = 'hi
there' ]
[ $'a\rb' = "$(printf "a\rb")" ]