]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - tools/regression/bin/sh/parser/dollar-quote8.0
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / tools / regression / bin / sh / parser / dollar-quote8.0
1 # $FreeBSD$
2
3 [ $'hello\0' = hello ]
4 [ $'hello\0world' = hello ]
5 [ $'hello\0'$'world' = helloworld ]
6 [ $'hello\000' = hello ]
7 [ $'hello\000world' = hello ]
8 [ $'hello\000'$'world' = helloworld ]
9 [ $'hello\x00' = hello ]
10 [ $'hello\x00world' = hello ]
11 [ $'hello\x00'$'world' = helloworld ]