This website requires JavaScript.
Explore
Help
Register
Sign In
emo
/
busybox
Watch
1
Star
0
Fork
0
You've already forked busybox
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
b1eedfcfa1
busybox
/
shell
/
ash_test
/
ash-read
/
read_d0.right
2 lines
5 B
Plaintext
Raw
Normal View
History
Unescape
Escape
shell: Fix "read -d ''" behavior 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>
2020-06-29 21:27:24 +05:30
test
Reference in New Issue
Copy Permalink