Newer
Older
ubixos / bin / sh / tests / parser / dollar-quote8.0
@Charlie Root Charlie Root on 16 Jan 2018 286 bytes BSD Shell
# $FreeBSD$

[ $'hello\0' = hello ]
[ $'hello\0world' = hello ]
[ $'hello\0'$'world' = helloworld ]
[ $'hello\000' = hello ]
[ $'hello\000world' = hello ]
[ $'hello\000'$'world' = helloworld ]
[ $'hello\x00' = hello ]
[ $'hello\x00world' = hello ]
[ $'hello\x00'$'world' = helloworld ]