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 <michallinuxstuff@gmail.com>
Message-ID:
<CACosJgzHi=uLva-Q+kozRMWtdpba5tsQh3nEVD6+9wP2qP2dOw@mail.gmail.com>
| 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