Negative Wildcard Matching
Hello,
In the shell, if you want to match a group of items based on a condition, you could use a wildcard. For example, if there was a bunch of .txt files in a directory, you could list only those items with % ls *.txt
Is there a way to match items based on the exclusion of a condition. Going with the .txt example, how would I select only those items in the directory that don't end in .txt?
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)
|