[Bug 5540] Parse error in ash when redirecting value to sysfs

bugzilla at busybox.net bugzilla at busybox.net
Wed Sep 19 10:20:34 UTC 2012


https://bugs.busybox.net/show_bug.cgi?id=5540

--- Comment #5 from Henri Bragge <henri.bragge at gmail.com> 2012-09-19 10:20:34 UTC ---
Small correction, though you probably noticed it already. Problem actually
occurs similarly in normal files and sysfs. Instead, there is something special
in the way ash handles numbers that are not separated from ">" character with a
whitespace:

Both of these do not work as expected:
# echo 66> /sys/class/backlight/pwm-backlight.0/brightness

# echo 66>/tmp/world

# cat /tmp/world
#

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list