probably a feature of the shell. what does /bin/pwd report?
Szekeres Istvan wrote:
>
> Hi, this thingie has happened to me:
>
> $ mkdir a
> $ mkdir a/b
> $ ln -s a/b c
> $ cd c
> $ pwd
> /home/szekeres/c
> $ touch foo
> $ ls -l foo
> -rw-rw-r-- 1 szekeres szekeres 0 Apr 6 14:13 foo
>
> Now comes the interesting part:
> $ mv foo ..
>
> Here I expect that foo will be moved to /home/szekeres, however:
>
> $ cd ..
> $ pwd
> /home/szekeres
> $ ls foo
> ls: foo: No such file or directory
> $ ls a/foo
> a/foo
> $ ls c/../foo
> c/../foo
>
> Shall I consider this a bug or a feature? :)
>
> Pista
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:16 EST