tcpdump mailing list archives
Re: listing all devs
From: David Young <dyoung () pobox com>
Date: Thu, 15 May 2003 11:19:37 -0500
On Thu, May 15, 2003 at 01:18:26PM +0200, Gisle Vanem wrote:
"David Young" <dyoung () pobox com> said:? is a wildcard in most UNIX shells. Operators prefer not to have to escape characters in routine commands.It's a wildcard in Windows/OS too? It doesn't stop us from using it for other things than filespecs. Do toy mean the shell or crt will glob an arg like "file://?"
The shell globs.
What if a capture file contains the character '?' ?Doesn't matter if readdir() will find it and the file is longer than "?". Is it even possible to name a file "?". ?
I don't understand what you are saying here ...
To list capture files in a directory, why not use the appropriate combination of ls, find, and file (or whichever the equivalent is in Windows), instead of tcpdump?It would not be clean from a bunch of '*.cap', '*.dump', '*.trace' etc. files which are libpcap capture files. My idea was to open all files in a dir and look for the tcpdump signature.
... or here. Dave -- David Young OJC Technologies dyoung () ojctech com Urbana, IL * (217) 278-3933 - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe
Current thread:
- listing all devs Gisle Vanem (May 11)
- RE: listing all devs Fulvio Risso (May 12)
- Re: listing all devs Guy Harris (May 12)
- RE: listing all devs Fulvio Risso (May 13)
- Re: listing all devs Gisle Vanem (May 13)
- RE: listing all devs Fulvio Risso (May 14)
- Re: listing all devs Guy Harris (May 12)
- RE: listing all devs Fulvio Risso (May 12)
- Re: listing all devs David Young (May 14)
- Re: listing all devs Gisle Vanem (May 15)
- RE: listing all devs Fulvio Risso (May 15)
- Re: listing all devs David Young (May 15)
- Re: listing all devs Guy Harris (May 15)
- Re: listing all devs Gisle Vanem (May 15)
- <Possible follow-ups>
- Fw: listing all devs Loris Degioanni (May 13)