bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Odd "ls" behavior in version 4.0p


From: Richard Tango-Lowy
Subject: Odd "ls" behavior in version 4.0p
Date: Fri, 19 Oct 2001 10:34:20 -0400

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       address@hidden
 . o 0   0 o .
      0 0       AGILENT TECHNOLOGIES
    o  0  o     ___________________________
   .   o   .    IT | Information Technology
       .






reply via email to

[Prev in Thread] Current Thread [Next in Thread]