]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - bin/sh/tests/parser/dollar-quote8.0
Sync sh(1) in stable/10 to head.
[FreeBSD/stable/10.git] / bin / sh / tests / 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 ]