xref: /freebsd/bin/sh/tests/parser/dollar-quote8.0 (revision 924226fba12cc9a228c73b956e1b7fa24c60b055)
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 ]
12