View Single Post
  #2   (View Single Post)  
Old 2nd October 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

I'd pipe it to grep:
% ls | grep -v '\.txt\>'

If you are looking for a shell-globbing-only answer, I'm not sure.
__________________
Kill your t.v.

Last edited by anomie; 2nd October 2008 at 11:09 PM. Reason: escaped the dot.
Reply With Quote