Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!ucbvax!cbosgd!osu-cis!tut!lvc From: lvc@tut.cis.ohio-state.edu (Lawrence V. Cipriani) Newsgroups: comp.unix.wizards Subject: Re: To . or not to . Message-ID: <972@tut.cis.ohio-state.edu> Date: Tue, 3-Nov-87 19:53:38 EST Article-I.D.: tut.972 Posted: Tue Nov 3 19:53:38 1987 Date-Received: Sat, 7-Nov-87 09:45:57 EST References: <648@tut.cis.ohio-state.edu> <9171@mimsy.UUCP> Organization: Ohio State Computer & Info Science Lines: 20 Summary: system allows /////////////////////// In article <9171@mimsy.UUCP>, chris@mimsy.UUCP (Chris Torek) writes: ... > 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). ... SVR2 (and any AT&T Unix system I'm familiar with) lets you use multiple /. //a is the same as /a a//b is the same as a/b This nice thing about doing it this way is that you can be a little sloppy in your program and it will still work. I admit it I'm lazy! And what is the harm anyway? Perhaps in some situations a // indicates a broken program. Another case of damned if you do and damned if you don't. Larry Cipriani tut!lvc