How can I write a filename expansion (globbing
You must have set the `extglob' shell option using `shopt -s extglob' to use
this:
echo .!(.|) *
A solution that works without extended globbing is given in the Unix Shell
FAQ, posted periodically to comp.unix.shell.
Section H: Where do I go from here?
Home | FAQ |