Date: Wed, 21 Jun 2000 14:07:35 +0900 From: "Daniel C. Sobral" <dcs@newsguy.com> To: Peter Jeremy <peter.jeremy@ALCATEL.COM.AU> Cc: current@FreeBSD.ORG Subject: Re: mktemp() patch Message-ID: <39504D97.B89B0438@newsguy.com> References: <00Jun19.084031est.115299@border.alcanet.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter Jeremy wrote: > > On Sun, Jun 11, 2000 at 02:41:12AM +1000, Daniel C. Sobral wrote: > >Mind you, shells don't have problems with any character at all in a > >filename if they are properly written, but if you are expecting the > >filenames generated by mktemp() to be handled by shell, they ought to > >pass the > > > >IFS=':'; for file in $filelist > > > >test. > > Why? Isn't it equally valid to state that they ought to pass > IFS='a'; for file in $filelist > or setting IFS to any other random character? Because : is a standard separator. See, for instance, PATH. (And see the "mind you" part of my comment above :). -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@the.great.underground.bsdconpiracy.org Windows works, for sufficently small values of "works". To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39504D97.B89B0438>