I was searching for the file ".foo" in my filesystem and found the
following curious behavior:

ls -a *foo*  lists nothing (a surprise to me!)

ls -a .*foo*  lists .foo, as expected.

I would think that the -a option should cause ls to list the hidden
file, even though I'm not actually specifying the dot. I noticed that ls
on HP-UX has the same behavior, but it certainly seems non-intuitive.

Sincerely,

-- Rich Tango-Lowy
       .
   .   o   .    Richard F. Tango-Lowy
    o  0  o     (877) 606-6759
      0 0       [EMAIL PROTECTED]
 . o 0   0 o .
      0 0       AGILENT TECHNOLOGIES
    o  0  o     ___________________________
   .   o   .    IT | Information Technology
       .




_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to