Subject: CVS commit: src/bin/sh
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 06/08/2004 03:29:51
Module Name:	src
Committed By:	christos
Date:		Tue Jun  8 03:29:51 UTC 2004

Modified Files:
	src/bin/sh: expand.c

Log Message:
"for i in ${x-a b c}; do echo $i; done" should print "a\nb\nc\n" not "a b c\n"
like other shells do. mark the expansion for ifs splitting. XXX: linux has a
very complicated fix for this. I wonder why.


To generate a diff of this commit:
cvs rdiff -r1.60 -r1.61 src/bin/sh/expand.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.