Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

read string containing null



Hello, I just found out:

echo -e - a$'\000'b | IFS='' builtin read -r -d '' xx; echo -n - $xx
result is "a"

is it possible for builtin read not to stop an null bytes? I found nothing in documentation.
thanks

Pier Paolo Grassi


Messages sorted by: Reverse Date, Date, Thread, Author