awk: undo TI_PRINT, it introduced a bug (print with any redirect acting as printf)
function old new delta evaluate 3329 3337 +8 Patch by Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -450,4 +450,9 @@ testing "awk exit N propagates through END's exit" \
|
||||
"42\n" \
|
||||
'' ''
|
||||
|
||||
testing "awk print + redirect" \
|
||||
"awk 'BEGIN { print \"STDERR %s\" >\"/dev/stderr\" }' 2>&1" \
|
||||
"STDERR %s\n" \
|
||||
'' ''
|
||||
|
||||
exit $FAILCOUNT
|
||||
|
Reference in New Issue
Block a user