Subject: CVS commit: src/bin/sh
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 03/19/2005 14:22:50
Module Name: src
Committed By: dsl
Date: Sat Mar 19 14:22:50 UTC 2005
Modified Files:
src/bin/sh: miscbltin.c
Log Message:
Fix the way the 'read' builtin processes IFS. In particular:
- IFS whitespace is now processes correctly,
- Trailing non-whitespace IFS characters are added to the last variable
iff a subsequent variable would have been assigned a non-null string.
Now passes the 'read' tests in http://www.research.att.com/~gsf/public/ifs.sh
To generate a diff of this commit:
cvs rdiff -r1.34 -r1.35 src/bin/sh/miscbltin.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.