Shell expansion of * and hidden files
Andre Speelmans
andre at as.no-ip.com
Fri Jul 23 10:29:34 UTC 2004
On Fri, Jul 23, 2004 at 05:18:56AM -0400, Robert P. J. Day wrote:
> actually, it doesn't, since it wouldn't match the perfectly valid
> ".a". it's a popular puzzle to come up with a glob that matches all
> hidden thingies, without matching "." or "..". and the solution is
> ...
>
> $ echo .[!.]*
But this would miss the file ..test or any other which starts with two or more
dots.
And I have to admit I don't know which glob would match all :(
--
Regards,
Andre
More information about the fedora-list
mailing list