39925026f6
With bash's read builtin it is possible to read from a file (e.g. device-tree) until the first '\0' character: IFS= read -r -d '' VARIABLE < file In busybox ash the -d extension is also implemented, but checking the read character for '\0' has to be performed after comparing with the delimiter. Signed-off-by: Christian Eggers <ceggers@arri.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> |
||
---|---|---|
.. | ||
hush-arith | ||
hush-bugs | ||
hush-getopts | ||
hush-glob | ||
hush-heredoc | ||
hush-invert | ||
hush-leak | ||
hush-misc | ||
hush-parsing | ||
hush-psubst | ||
hush-quoting | ||
hush-read | ||
hush-redir | ||
hush-signals | ||
hush-standalone | ||
hush-vars | ||
hush-z_slow | ||
.gitignore | ||
run-all |