From: Marko Schulz Date: 2002-03-17T08:17:03+09:00 Subject: Re: Some potential RCRs On Wed, Mar 13, 2002 at 01:43:55PM +0900, Guy N. Hurst wrote: > Bob Alexander wrote: > > > > On the topic of whether ".." and "." should be in our directory > > listings: > > > > Can someone suggest an argument as to why having them in the listed > > entries is useful? > > I often use ls -al in the shell because I also need to see the > permissions and/or owner of '.' Yes, in the shell I use it for that too. But not while programming in Ruby. > I use Dir["*"] to avoid them being included. This has the drawback of also excluding all the other files starting with a period, at least under Unix. -- marko schulz