|
From: | P |
Subject: | Re: can't cd to directory with backslash |
Date: | Thu, 02 Jun 2005 14:45:50 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040124 |
Chet Ramey wrote:
P@draigBrady.com wrote:$ rpm -q bash bash-3.0-17 $ mkdir -p 'blah\' $ cd 'blah\' #lock up hereThere'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.
Well I thought that also, but reproduced it in gnome-terminal and xterm with PS1=$. The only common denominator was bash, as tcsh didn't show the problem? Pádraig.
[Prev in Thread] | Current Thread | [Next in Thread] |