summaryrefslogtreecommitdiff
path: root/tests/read5.sub
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-12-12 22:12:13 -0500
committerChet Ramey <chet.ramey@case.edu>2011-12-12 22:12:13 -0500
commit89c77bc75babfe60098558bb1462c47f0a6dd506 (patch)
treedf7e8a3b21f87c76b0755662679eea07bca2ec55 /tests/read5.sub
parente88665cc6061ba2df7bfd4b406d809fcbd287069 (diff)
downloadbash-89c77bc75babfe60098558bb1462c47f0a6dd506.tar.gz
commit bash-20101222 snapshot
Diffstat (limited to 'tests/read5.sub')
-rw-r--r--tests/read5.sub3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/read5.sub b/tests/read5.sub
index 58b992dc..e35674e0 100644
--- a/tests/read5.sub
+++ b/tests/read5.sub
@@ -32,5 +32,4 @@ else
fi
echo -n ${A[0]} | cat -vet
-echo -n ${A[0]} | wc
-
+echo -n ${A[0]} | wc | ( IFS=$' \t\n' ; while read line; do echo $line; done; )