Bash-4.3 distribution sources and documentation
[platform/upstream/bash.git] / tests / read3.sub
index 22088cb..af41e3f 100644 (file)
@@ -15,5 +15,10 @@ echo ab | {
        echo $xyz
 }
 
+echo abc | {
+       read -N 4 -d$'\n' foo
+       echo $foo
+}
+
 read -n 1 < $0
 echo "$REPLY"