diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2025-08-11 18:43:02 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2025-08-11 18:43:02 +0200 |
| commit | 1cd53c15a2b370487c7951345efff3b43f228d1d (patch) | |
| tree | 6d289da6be4dcbb1d5fb00c74e1f4ad01ec276aa /scripts/basic | |
| parent | 0da6c813e13eaf1cddfd7cbee1f3a5a4ffe58ec0 (diff) | |
| download | busybox-w32-1cd53c15a2b370487c7951345efff3b43f228d1d.tar.gz busybox-w32-1cd53c15a2b370487c7951345efff3b43f228d1d.tar.bz2 busybox-w32-1cd53c15a2b370487c7951345efff3b43f228d1d.zip | |
ash: parser: Invalid redirections are run-time, not syntax errors
Upstream commit
Date: Wed, 14 Dec 2022 02:06:05 +0100
parser: Invalid redirections are run-time, not syntax errors
This fixes a long-standing bug where
echo 'echo >&a' | sh
errors out with
sh: 2: Syntax error: Bad fd number
despite the error being on line 1
This patch makes the error
sh: 1: Bad fd number: a
as expected
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
