bug-bash
[Top][All Lists]
Advanced

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

Re: can't cd to directory with backslash


From: Chet Ramey
Subject: Re: can't cd to directory with backslash
Date: Wed, 01 Jun 2005 22:51:22 -0400
User-agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317)

P@draigBrady.com wrote:
> $ rpm -q bash
> bash-3.0-17
> 
> $ mkdir -p 'blah\'
> $ cd 'blah\' #lock up here

There's no bug here.  The cd builtin completes successfully, and
the shell goes to read another line from the terminal.  My guess
is that the backslash at the end of $PWD is messing up an escape
sequence you're sending to the terminal to write to the title bar
or something similar.

Chet


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

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