Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!amdahl!ames!hao!oddjob!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.wizards Subject: Re: To . or not to . Message-ID: <9171@mimsy.UUCP> Date: Fri, 30-Oct-87 13:16:53 EST Article-I.D.: mimsy.9171 Posted: Fri Oct 30 13:16:53 1987 Date-Received: Thu, 5-Nov-87 00:49:46 EST References: <648@tut.cis.ohio-state.edu> <722@wacsvax.OZ> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 17 In article <722@wacsvax.OZ> frank@wacsvax.OZ (Frank O'Connor) writes: >Please flame me if I am wrong but why wouldn't : > for p in $x/*/ > do > stuff > done >be sufficient. ... Well, for one thing, this uses the zero-length-string file name (right there after the second slash: it refers to the current directory as of that slash). If System V's namei is consistent, this will fail in the same way as open("", 0) (and it will not accept names like a//b or //x). -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris