[1180] in bugtraq
Re: Sendmail fixkit
daemon@ATHENA.MIT.EDU (John F. Haugh II)
Sat Mar 4 10:09:48 1995
From: jfh@rpp386.cactus.org (John F. Haugh II)
To: rhaas@cygnus.arc.nasa.gov (Robert M. Haas)
Date: Sat, 4 Mar 95 7:25:38 CST
Cc: bret@real.com, bugtraq@fc.net
In-Reply-To: <199502280557.VAA08690@cygnus.arc.nasa.gov>; from "Robert M. Haas" at Feb 27, 95 9:57 pm
> > Dont think so.. Lets say that ./foo is a valid directory.. Then
> > foo// would be the same as / (correct????)
>
> Nope. Same as "./foo". Repeated slashes are counted as a single slash. At
> least on the versions of UNIX that I have played around with, the empty
> string is the same as ".", so foo// is the same as foo/./, which of
> course is the same as ./foo
On old versions of UNIX "" was the same as ".". On newer versions the
extra /'s are just skipped over. They don't have any special meaning.
--
John F. Haugh II [ NRA-ILA ] [ Kill Barney ] !'s: ...!cs.utexas.edu!rpp386!jfh
Ma Bell: (512) 251-2151 [GOP][DoF #17][PADI][ENTJ] @'s: jfh@rpp386.cactus.org
The ultimate solution to the homeless problem: Cut down the Pacific Northwest
forests and kill all the owls. Build houses with the wood and cook the birds!