On Sunday 29 August 2010, Polytropon wrote: > The "problem" (i. e. a convention) is that .* is not part of *, > which includes everything else, even "nothing", and the > form *.* (that looks like the DOS equivalent of "all files") > does seem to omit .*; the spaced form * .* would work as it > contains * (which does not contain .*) and .* (not in *). :-)
The problem with using .* as a wildcard for hidden files is that it will include .. which is almost certainly not what you want. For example rm -r .* can be disastrous. A safer wildcard for hidden dotfiles and everything else could be .[^.]* * -- Mike Clarke _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"