Ethereal-dev: Re: [Ethereal-dev] Ethereal decode of Net X-Ray

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Wed, 18 Oct 2000 12:46:12 -0700 (PDT)
> You could just use tethereal and head and tail to chop off the head and tail
> of each trace.

Or, if he's on a system that includes "sed" (a Windows system could be
such a system - Cygwin:

	http://sources.redhat.com/cygwin/

might have it, as might the MKS tools, which I think come with
Microsoft's UNIX Services for Windows or whatever they call it - if he
doesn't have "sed", he might not have "head" or "tail", either), if he
only wants the first and last packets:

	tethereal -r foobar.cap | sed -n -e 1p -e '$p'