fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
8d88b4d35
master
1#RUN: %fish %s 2# NUL-handling 3 4# This one actually prints a NUL 5echo ( printf '%s\x00' foo bar| string escape) 6# CHECK: foo\x00bar\x00 7# This one is truncated 8echo foo\x00 bar| string escape 9# CHECK: foo 10# This one is just escaped 11echo foo\\ x00bar| string escape 12# CHECK: 'foo\\x00bar'