Thread
:
Negative Wildcard Matching
View Single Post
#
3
(View Single Post)
3rd October 2008
BSDKaffee
Real Name: Jason Hale
Coffee Addict
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
You may want to use '$' for end of line, otherwise if you have a
somefile.txt.bak
it will get excluded by grep. E.g.:
$
ls | grep -v '\.txt$'
BSDKaffee
View Public Profile
Find all posts by BSDKaffee