Re: Bizarre ls Behavior

2005-07-22 Thread Derrick Hudson
On Fri, Jul 22, 2005 at 01:34:06PM -0500, Martin McCormick wrote: | Hendrik Sattler writes: | >Guessing: your $PATH contains "." before the "/bin" | >Bad thing! | >When in doubt: run /bin/ls instead of ls. | | Wow! I've been doing UNIX for around 14 years and am flat | ashamed of myself. I

Re: Bizarre ls Behavior

2005-07-22 Thread Martin McCormick
Hendrik Sattler writes: >Guessing: your $PATH contains "." before the "/bin" >Bad thing! >When in doubt: run /bin/ls instead of ls. Wow! I've been doing UNIX for around 14 years and am flat ashamed of myself. I have now put . at the end of the path and, of course it all works. I have he

Re: Bizarre ls Behavior

2005-07-22 Thread Ron Johnson
On Fri, 2005-07-22 at 03:24 -0700, Steve Lamb wrote: > Ron Johnson wrote: > > Whaddaya mean "a while back"? It's still in Sid... > > Erm, based on me not being able to find it with "locate". I figured it > had been subsumed into the shells like some other former external commands. > :D Si

Re: Bizarre ls Behavior

2005-07-22 Thread Steve Lamb
Ron Johnson wrote: > Whaddaya mean "a while back"? It's still in Sid... Erm, based on me not being able to find it with "locate". I figured it had been subsumed into the shells like some other former external commands. :D -- Steve C. Lamb | I'm your priest, I'm your shrin

Re: Bizarre ls Behavior

2005-07-22 Thread Hendrik Sattler
Martin McCormick wrote: > -r-xr-xr-x2 root root 301376 Jan 21 09:45 ls > Thanks for any hints as to why this directory doesn't list if > one is in it but does list if one is either root or doing ls from > outside the bin directory. Guessing: your $PATH contains "." before the "/bin"

Re: Bizarre ls Behavior

2005-07-22 Thread strawks
On ven, 2005-07-22 at 18:11 +1000, Geoff Reidy wrote: > $ dpkg -S '/usr/bin/\[' > coreutils: /usr/bin/[ > > Must admit I never knew it was a separate binary. it's also a shell builtin (at least in bash) $ type [ [ is a shell builtin -- strawks <[EMAIL PROTECTED]> signature.asc Description: T

Re: Bizarre ls Behavior

2005-07-22 Thread Geoff Reidy
Ron Johnson wrote: Unfortunately, I can't determine it's package using the usual tool: $ dpkg -S /usr/bin/[ dpkg: /usr/bin/[ not found. $ dpkg -S "/usr/bin/[" dpkg: /usr/bin/[ not found. $ dpkg -S '/usr/bin/[' dpkg: /usr/bin/[ not found. $ dpkg -S '/usr/bin/\[' coreutils

Re: Bizarre ls Behavior

2005-07-21 Thread Ron Johnson
On Thu, 2005-07-21 at 20:48 -0700, Steve Lamb wrote: > Martin McCormick wrote: > > Other directories seem normal. What could possibly be going > > on here? Here is a listing of what is in bin. There is a file named > > [ but that is the only strange thing in the listing and it is not > > cau

Re: Bizarre ls Behavior

2005-07-21 Thread Steve Lamb
Martin McCormick wrote: > Other directories seem normal. What could possibly be going > on here? Here is a listing of what is in bin. There is a file named > [ but that is the only strange thing in the listing and it is not > causing the behavior: Well, I can't say why it is happening