emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: paths are sensative to double separators


From: Byung-Hee HWANG
Subject: Re: paths are sensative to double separators
Date: Fri, 20 Mar 2009 08:59:21 +0900
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix)

Giorgos Keramidas <address@hidden> writes:

> On Wed, 18 Mar 2009 19:50:37 -0700, xah lee <address@hidden> wrote:
>> in unix-like OSes, double slash is effectively taken to mean root.
>> e.g. /foo/bar//baz.el would mean /baz.el
>> This convention is somewhat rooted in unixes.
>
> Not really, no:
>
>   address@hidden:/home/keramida$ cd /etc//security
>   address@hidden:/etc/security$ pwd
>   /etc/security

SunOS's screenshot:

$ uname -a
SunOS rose0 5.9 Generic_122300-13 sun4u sparc SUNW,Sun-Fire-880
$ pwd
/user2/hak/z9618029
$ cd /etc//security
$ pwd
/etc/security
$

> Having said that, I see that a double slash in find-file's prompt starts
> over from the filesystem root.  That's slightly annoying when trying to
> open a filename with double slashes, but it's also helpful when one
> really *wants* to start over from the root of the filesystem :/

Sincerely,

-- 
Byung-Hee HWANG, KNU 
∑ WWW: http://izb.knu.ac.kr/~bh/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]