Next: , Previous: Invocation, Up: Programs


1.2 Concatenation (and Prism noise filtering)

One may concatenate traces using the wipal-cat command. It takes exactly one input and one output. It may be useful to recombine a trace that was split, or filter out frames with Prism noise (using the -P option).

     wipal-cat in.pcap out.pcap
     wipal-cat foo.pcap.0:foo.pcap.1 foo.pcap
     wipal-cat -P in.pcap out.pcap
     wipal-cat -P bar.pcap.0:bar.pcap.1:bar.pcap.2 bar.pcap

The first example just copies in.pcap into out.pcap. Note that the two files might be different at the byte level, e.g. if in.pcap is big endian and the program is run on a little endian machine.

The second example concatenate foo.pcap.0 and foo.pcap.1 and put the result into foo.pcap.

The third example copies in.pcap into out.pcap but removes frames that have a non-zero noise field in their Prism headers.

The fourth example both concatenates traces while filtering noisy frames out.