bug-bash
[Top][All Lists]
Advanced

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

Re: \w, $PWD and pwd builtin return "//" instead of '/'


From: Robert Elz
Subject: Re: \w, $PWD and pwd builtin return "//" instead of '/'
Date: Sun, 13 Jan 2019 08:06:50 +0700

    Date:        Sun, 13 Jan 2019 01:52:03 +0100
    From:        mike b <address@hidden>
    Message-ID:  <address@hidden>

  | This seems to happen only when number of '/' char == 2, anything > 2 is
  | properly displayed as single '/' char.

That's because paths that start with exactly two '/' characters (not more,
not less) are "special" on some systems.   It is wrong to alter them.

kre




reply via email to

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