Tool: some_packets
Description
This tool selects a subset of packets within a file.
For example, you can create a new file containing the 10th packet
through 100th packet in a given file.
Option Summary
Option | Argument Type | Default Value |
---|
-from |
Integer |
1 |
-infile |
String |
- |
-outfile |
String |
- |
-to |
Integer |
-1 |
Only the initial unique characters of each option are
significant. Each option must be followed by an argument
of the given type. Boolean "true" and "false" are indicated
with "y" and "n" respectively. A boolean option without a
value is assumed to be "true".
For filename arguments, "-" means either stdin or stdout
as appropriate.
Each option is described in detail below.
Parameters
- from Integer (default = 1)
- This is the number of the first packet to read. The first packet in
the input stream is numbered "1".
- infile String (default = -)
- Input file to read from. A "-" means read from stdin.
- outfile String (default = -)
- Output file to write results to. A "-" means write to stdout.
- to Integer (default = -1)
- The number of the last packet to read from the input stream. A value
of "-1" means read to the end of the file.