Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!cernvax!chx400!ethz!iis!kells From: kells@iis.UUCP (Kevin Kells) Newsgroups: comp.unix.questions Subject: "//" in pathnames---standard? & why? Summary: "//bin/ls" instead of "/bin/ls": is this ok? why is this done? Message-ID: <4029@iis.UUCP> Date: 27 Mar 90 02:47:45 GMT Reply-To: kells@iis.UUCP (Kevin Kells) Organization: Numerical Simulations Group, ETH/IIS Zurich Lines: 21 I've noticed---in particular in some InterViews #include files---that files are sometimes specified with absolute pathnames that begin with two slashes instead of one. Example: #include "//usr/include/sys/time.h" Is it standard to use two slashes "//" instead of one slash "/" in absolute pathnames to represent the root directory? What is the reason that people (or programs) use this style? Thanks, Kevin -- Kevin D. Kells Real-mail: Institut fuer Integrierte Systeme uucp: kells@iis.UUCP ETH-Zentrum Internet: kells@iis.ethz.ch CH-8092 Zuerich Phone alternate: kdk@prism.gatech.edu Switzerland +41-1-256-5746