From owner-freebsd-current Tue Jun 20 22:54:28 2000 Delivered-To: freebsd-current@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 4DA4137BB81 for ; Tue, 20 Jun 2000 22:54:13 -0700 (PDT) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p60-dn02kiryunisiki.gunma.ocn.ne.jp [211.0.245.125]) by peach.ocn.ne.jp (8.9.1a/OCN/) with ESMTP id OAA29429; Wed, 21 Jun 2000 14:54:03 +0900 (JST) Message-ID: <39504D97.B89B0438@newsguy.com> Date: Wed, 21 Jun 2000 14:07:35 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR,ja MIME-Version: 1.0 To: Peter Jeremy Cc: current@FreeBSD.ORG Subject: Re: mktemp() patch References: <00Jun19.084031est.115299@border.alcanet.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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