Hi all...

I have a weird behaviour with new bash.
Suppose /usr/local/soft, /usr/local/soft/in and /usr/local/soft/kernel are
dirs, and I have a symlink at root home to 'in':
lrwxrwxrwx    1 root     root     18 Dec 17 04:11 in -> /usr/local/soft/in/

Look at the prompt:

werewolf:~# echo $PS1
\h:\w#
werewolf:~# pwd
/root
werewolf:~# cd in
werewolf:~/in# cd ../kernel
werewolf:~/in/../kernel# cd ..            <<== old bash resolved it to
/usr/local...
werewolf:~/in/../kernel/..# cd ..
werewolf:~/in/../kernel/../..# pwd
/root/in/../kernel/../..
werewolf:~/in/../kernel/../..# 

Also happens with a simple setup like:
:
total 2
drwxr-xr-x    4 root     root         1024 May  4 00:27 a/
drwxr-xr-x    2 root     root         1024 May  4 00:27 b/

/a:
total 2
drwxr-xr-x    2 root     root         1024 May  4 00:27 d/
drwxr-xr-x    2 root     root         1024 May  4 00:27 e/

/a/d:
total 0

/a/e:
total 0

/b:
total 0
lrwxrwxrwx    1 root     root            6 May  4 00:27 d -> ../a/d/

Any idea ?

-- 
J.A. Magallon                                          #  Let the source
mailto:[EMAIL PROTECTED]                              #  be with you, Luke... 

Linux werewolf 2.4.4-ac3 #1 SMP Wed May 2 14:06:27 CEST 2001 i686


Reply via email to