Subject: Re: This has GOT to be a bug in ksh...
To: NetBSD User's Discussion List <netbsd-users@netbsd.org>
From: Robert Elz <kre@munnari.OZ.AU>
List: netbsd-users
Date: 06/18/2002 01:11:32
Date: Sun, 16 Jun 2002 11:12:59 -0400 (EDT)
From: woods@weird.com (Greg A. Woods)
Message-ID: <20020616151259.59E77AC@proven.weird.com>
| $ find . -type f -print | while read file; do echo $file; done
| =
| That'll work with all POSIX-ish shells, including /bin/sh on SunOS-5.=
x
Given your definition of how echo is supposed to work, just how
do you make that work when files in the directory have names
like
hello\c
some\tname
Fortunately, for NetBSD users, sh does the "right" thing, but ksh
sure doesn't (by default anyway -E most likely fixes it).
kre