Sorry, I hit "send" too early; my answer is missing the last part.
On Sunday 30 September 2007, Etaoin Shrdlu wrote: > > Is it possible that you mean regular expressions and not Bash's > > expansion feature? This is possible (well, sort of) enabling the "extglob" option in bash. But still, this is not directly related to whether "*" expansion includes names starting with "." or not. Getting all the files, including those starting with "." (but excluding "." and "..") using standard bash is not really easy; an approximation could be taking the files matching "*", ".[^.]*", and "..[^$]*". These patterns still expand to their literal values if no files match, so at least the "nullglob" option would be useful to avoid error messages. -- [EMAIL PROTECTED] mailing list

