This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

*[^.php], /etc/bash_completion

Posted by: Anonymous Coward on May 09, 2006 12:21 AM
*[^.php]
This will match any file not ending in '.', p or h.
I.e. it will exclude:
bash
grep
etc.

The [^ ] construct matches only one character.

Also, I don't seem to have<nobr> <wbr></nobr>/etc/bash_completion on my Fedora Core 3 box, maybe it's a Debian thing, or the Fedora maintainers removed it from the FC3 bash package perhaps.

#

Return to CLI Magic: Bash complete