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> |
||
---|---|---|
.. | ||
read_d0.right | ||
read_d0.tests | ||
read_ifs.right | ||
read_ifs.tests | ||
read_n.right | ||
read_n.tests | ||
read_r.right | ||
read_r.tests | ||
read_REPLY.right | ||
read_REPLY.tests | ||
read_SIGCHLD.right | ||
read_SIGCHLD.tests | ||
read_t0.right | ||
read_t0.tests | ||
read_t.right | ||
read_t.tests |