]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - tools/regression/bin/sh/parser/dollar-quote1.0
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / tools / regression / bin / sh / parser / dollar-quote1.0
1 # $FreeBSD$
2
3 set -e
4
5 [ $'hi' = hi ]
6 [ $'hi
7 there' = 'hi
8 there' ]
9 [ $'\"\'\\\a\b\f\t\v' = "\"'\\$(printf "\a\b\f\t\v")" ]
10 [ $'hi\nthere' = 'hi
11 there' ]
12 [ $'a\rb' = "$(printf "a\rb")" ]