On Fri, Nov 10, 2006 at 09:53:49PM -0700, Matthew Walker wrote: > > Actually, this one confuses me, because I have on many occasions used > .*, and I use bash exclusively, and this has never been a problem for > me. > > Maybe this is from years ago, but in at least the last four or five years, > it hasn't behaved this way. >
In Bash: """ maude:~/hi1/hi2 amcnabb$ rm -rf .. rm: "." and ".." may not be removed """ which is good. However: """ maude:~/hi1/hi2 amcnabb$ ls .* .: file2 ..: file1 hi2 """ I have never personally used ".*" in a situation where including ".." was appropriate (I've been paying attention for two years). I wish that Bash would copy ZSH's behavior and define ".*" to mean everything except for "." and "..". -- Andrew McNabb http://www.mcnabbs.org/andrew/ PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868
pgpde6LdJq5K9.pgp
Description: PGP signature
/* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
