blob: 2862b8a20b0914be3d9f99f2b15c0c56ceabc7db (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
set -e
[ $'hi' = hi ]
[ $'hi
there' = 'hi
there' ]
[ $'\"\'\\\a\b\f\t\v' = "\"'\\$(printf "\a\b\f\t\v")" ]
[ $'hi\nthere' = 'hi
there' ]
[ $'a\rb' = "$(printf "a\rb")" ]
|