diff options
author | stefanf <stefanf@FreeBSD.org> | 2009-03-22 23:00:52 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2009-03-22 23:00:52 +0000 |
commit | 106f32b27d5cca98bf5757cbc38a11036042aa71 (patch) | |
tree | faac1ffff532aac0c5319333767af6084a59b584 /tools | |
parent | 92cca788e9e3915b7f1e299417bb84c98f85ac82 (diff) | |
download | FreeBSD-src-106f32b27d5cca98bf5757cbc38a11036042aa71.zip FreeBSD-src-106f32b27d5cca98bf5757cbc38a11036042aa71.tar.gz |
Test the r190298 change.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/regression/bin/sh/builtins/read1.0 | 1 | ||||
-rw-r--r-- | tools/regression/bin/sh/builtins/read1.0.stdout | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/regression/bin/sh/builtins/read1.0 b/tools/regression/bin/sh/builtins/read1.0 index 1bca518..06a68fa 100644 --- a/tools/regression/bin/sh/builtins/read1.0 +++ b/tools/regression/bin/sh/builtins/read1.0 @@ -7,6 +7,7 @@ echo "1 2 3" | { read a b c; echo "x${a}x${b}x${c}x"; } echo "1 2 3" | { read a b c d; echo "x${a}x${b}x${c}x${d}x"; } echo " 1 2 3 " | { read a b c; echo "x${a}x${b}x${c}x"; } +echo " 1 2 3 " | { unset IFS; read a b c; echo "x${a}x${b}x${c}x"; } echo " 1 2 3 " | { IFS=$(printf ' \t\n') read a b c; echo "x${a}x${b}x${c}x"; } echo " 1 2 3 " | { IFS= read a b; echo "x${a}x${b}x"; } diff --git a/tools/regression/bin/sh/builtins/read1.0.stdout b/tools/regression/bin/sh/builtins/read1.0.stdout index 752b969..dbcb1af 100644 --- a/tools/regression/bin/sh/builtins/read1.0.stdout +++ b/tools/regression/bin/sh/builtins/read1.0.stdout @@ -4,6 +4,7 @@ x1x2x3x x1x2x3xx x1x2x3x x1x2x3x +x1x2x3x x 1 2 3 xx x1x2x3x xx2x3x |