hush: fix read builtin to not read ahead past eol and to not use
insane amounts of stack. Testsuite updated.
This commit is contained in:
4
shell/hush_test/hush-misc/read.right
Normal file
4
shell/hush_test/hush-misc/read.right
Normal file
@@ -0,0 +1,4 @@
|
||||
read
|
||||
cat
|
||||
echo "REPLY=$REPLY"
|
||||
REPLY=exec <read.tests
|
Reference in New Issue
Block a user