]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - tests/read3.sub
Bash-4.3 patch 7
[thirdparty/bash.git] / tests / read3.sub
index 22088cbf3c71711628fc87b653029de30d1fc0be..af41e3f279309165c84f61a3c578e303c96e19fd 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"