Date: Sun, 22 Mar 2009 23:00:52 +0000 (UTC) From: Stefan Farfeleder <stefanf@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r190300 - head/tools/regression/bin/sh/builtins Message-ID: <200903222300.n2MN0qlW086848@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: stefanf Date: Sun Mar 22 23:00:52 2009 New Revision: 190300 URL: http://svn.freebsd.org/changeset/base/190300 Log: Test the r190298 change. Modified: head/tools/regression/bin/sh/builtins/read1.0 head/tools/regression/bin/sh/builtins/read1.0.stdout Modified: head/tools/regression/bin/sh/builtins/read1.0 ============================================================================== --- head/tools/regression/bin/sh/builtins/read1.0 Sun Mar 22 23:00:00 2009 (r190299) +++ head/tools/regression/bin/sh/builtins/read1.0 Sun Mar 22 23:00:52 2009 (r190300) @@ -7,6 +7,7 @@ echo "1 2 3" | { read a b c; echo "x${a 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"; } Modified: head/tools/regression/bin/sh/builtins/read1.0.stdout ============================================================================== --- head/tools/regression/bin/sh/builtins/read1.0.stdout Sun Mar 22 23:00:00 2009 (r190299) +++ head/tools/regression/bin/sh/builtins/read1.0.stdout Sun Mar 22 23:00:52 2009 (r190300) @@ -4,6 +4,7 @@ x1x2x3x x1x2x3xx x1x2x3x x1x2x3x +x1x2x3x x 1 2 3 xx x1x2x3x xx2x3x
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903222300.n2MN0qlW086848>