summaryrefslogtreecommitdiffstats
path: root/tests/read4.sub
diff options
context:
space:
mode:
Diffstat (limited to 'tests/read4.sub')
-rw-r--r--tests/read4.sub4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/read4.sub b/tests/read4.sub
new file mode 100644
index 0000000..80bc9fc
--- /dev/null
+++ b/tests/read4.sub
@@ -0,0 +1,4 @@
+while read -u 3 var
+do
+ echo "$var"
+done 3<$0