Re: Bash file completion, symbolic links and pwd confusion

2007-02-02 Thread Peter da Silva
Is software any less hateful just because other software is hateful as well?

Re: Bash file completion, symbolic links and pwd confusion

2007-02-02 Thread Tony Finch
On Thu, 1 Feb 2007, Peter da Silva wrote: > Bash is doing the wrong thing. It's not a bash bug, it's a posix bug. BSD sh and ksh will do the same broken thing by default. Tony. -- f.a.n.finchhttp://dotat.at/ ROCKALL MALIN: WESTERLY OR SOUTHWESTERLY 5 OR 6, OCCASIONALLY 7, DECREASING 3 OR 4

Re: Bash file completion, symbolic links and pwd confusion

2007-02-02 Thread Bill Page
I think you'll find that if you scratch the Made in China sticker off your sunglasses, it says Hecho en Mexico, dude. http://www.achewood.com/index.php?date=07312006 On 2/2/07, Peter da Silva wrote: Bash is doing the wrong thing. You are in "foo/bar". There is nothing inside "foo/bar" for any

Re: Bash file completion, symbolic links and pwd confusion

2007-02-01 Thread Peter da Silva
Bash is doing the wrong thing. You are in "foo/bar". There is nothing inside "foo/bar" for any program you run to tell that you got there by following a symbolic link. Bash is hiding this from you. This is like getting on a plane and having it fly to the wrong airport, and your Joo Janta Peril Se

Re: Bash file completion, symbolic links and pwd confusion

2007-02-01 Thread Tony Finch
You can turn off this POSIX-me-harder braindamage with set -P. Tony. -- f.a.n.finchhttp://dotat.at/ VIKING: WEST, BACKING SOUTHWEST FOR A TIME, 4 OR 5 OCCASIONALLY 6. MODERATE OR ROUGH. OCCASIONAL RAIN OR DRIZZLE. GOOD, OCCASIONALLY MODERATE OR POOR.

Bash file completion, symbolic links and pwd confusion

2007-02-01 Thread Robert Rothenberg
Note the following session: m...@nix:~$ mkdir foo m...@nix:~$ mkdir foo/bar m...@nix:~$ mkdir foo/feh m...@nix:~$ mkdir baz m...@nix:~$ mkdir baz/bo m...@nix:~$ cd baz m...@nix:~/baz$ ln -s ../foo/bar m...@nix:~/baz$ cd bar m...@nix:~/baz/bar$ ls ../bo Bash file completion works as one e