Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!tektronix!orca!tekecs!doghouse!snoopy From: snoopy@doghouse.gwd.tek.com (Snoopy) Newsgroups: comp.unix.wizards Subject: Re: To . or not to . Message-ID: <9363@tekecs.TEK.COM> Date: Thu, 12-Nov-87 12:37:36 EST Article-I.D.: tekecs.9363 Posted: Thu Nov 12 12:37:36 1987 Date-Received: Sun, 15-Nov-87 02:22:40 EST References: <648@tut.cis.ohio-state.edu> <9171@mimsy.UUCP> <972@tut.cis.ohio-state.edu> Sender: nobody@tekecs.TEK.COM Reply-To: snoopy@doghouse.gwd.tek.com (Snoopy) Organization: The Daisy Hill Puppy Farm Lines: 22 In article <972@tut.cis.ohio-state.edu> lvc@tut.cis.ohio-state.edu (Lawrence V. Cipriani) writes: >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? The harm is that this is not portable. With UTek's DFS, //a refers to the root directory on a machine called 'a'. I've seen articles indicating that Apollo's multi-machine file system (whatever they call their version) uses the same syntax. (Is anyone familiar with Apollo out there?) Sloppy programming is not a good idea. Snoopy tektronix!doghouse.gwd!snoopy snoopy@doghouse.gwd.tek.com