Hi Chet,

On Fri 16-05-14 09:13:34, Chet Ramey wrote:
> On 5/16/14, 5:22 AM, Libor Pechacek wrote:
> 
> > Bash Version: 4.2
> > Patch Level: 46
> > Release Status: release
> > 
> > Description:
> >     Bash prompt always shows full path in prompt instead of tilde
> >     abbreviation when $HOME ends with slash.
> 
> This came up in March, 2012:
> 
> http://lists.gnu.org/archive/html/bug-bash/2012-03/msg00055.html
> 
> My opinion that this is not a bug in bash hasn't changed.  There are a
> number of easy ways to remove this trailing slash.

Agree.  On the other hand, passwd(5) does not fobid the trailing slash.  That
said I think that either bash should tolerate the trailing slash - will likely
be easy as you mentioned above - or the limitation should be documented in bash
manual so that no more people burn their time on this unexpected behavior.

Libor
-- 
Libor Pechacek
Project Manager SUSE Labs, Prague

Reply via email to