DaemonForums  

Go Back   DaemonForums > Miscellaneous > General software and network

General software and network General OS-independent software and network questions, X11, MTA, routing, etc.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 2nd October 2008
JMJ_coder JMJ_coder is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 464
Default 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)
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Negative partition size? giga FreeBSD General 1 2nd January 2009 09:02 PM


All times are GMT. The time now is 01:32 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick