View Single Post
  #3   (View Single Post)  
Old 3rd October 2008
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Default

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$'
Reply With Quote