[Bug 5498] New: ash is incorrect parsing commands containing &>
bugzilla at busybox.net
bugzilla at busybox.net
Sun Sep 2 20:10:49 UTC 2012
https://bugs.busybox.net/show_bug.cgi?id=5498
Summary: ash is incorrect parsing commands containing &>
Product: Busybox
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: Standard Compliance
AssignedTo: unassigned at busybox.net
ReportedBy: bugdal at aerifal.cx
CC: busybox-cvs at busybox.net
Estimated Hours: 0.0
Consider for example the command:
echo hello &> world
In both bash and Busybox ash, this command results in the synchronous execution
of echo with its output directed to a file named world. However, per the shell
grammar, the & should be interpreted as a separator_op, i.e. the complete
command is a list, separated by the & operator, where the first simple command
echo hi is run in the background and the second simple command is a pure
redirection which creates an empty file named 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