Reading the man page for tshark indicates that the following is vaild:
mkfifo foo
tshark -i foo &
cat somefile.pcap >foo
Which seems to work on Linux, but not OS X:
Capturing on foo
tshark: Unexpected error from select: Invalid argument
Using 1.2.2 & 1.2.4... is this a known issue?
--
Aaron Turner
http://synfin.net/
http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin
"carpe diem quam minimum credula postero"