Wireshark-bugs: [Wireshark-bugs] [Bug 7391] Wireshark crashes on bootp filter

Date: Fri, 22 Jun 2012 08:47:22 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7391

--- Comment #18 from Chris Maynard <christopher.maynard@xxxxxxxxx> 2012-06-22 08:47:21 PDT ---
(In reply to comment #17)
> script does not use tshark -G output, but if I get a chance, I'll try to write
> a version that parses that output, which should be much more complete. 

Hmm, it seems that "tshark -G" only prints out a single occurrence of a display
filter?  Maybe I'm doing something wrong in processing the output.  Here's the
script I'm using if anyone wants to play with it:

#!/bin/sh
# set -x

outfile=hfsdups.txt
wspath=wireshark-gtk2

rm -f ${outfile}
${wspath}/tshark -G fields | grep "^F.*$" | cut -f 3 -s | sort > hfs1.tmp
cat hfs1.tmp | uniq > hfs2.tmp
diff hfs1.tmp hfs2.tmp > hfs.tmp
cat hfs.tmp | cut -d ' ' -f 2 | sort | uniq > ${outfile}
rm -f hfs1.tmp hfs2.tmp hfs.tmp
unix2dos ${outfile}
echo "${outfile} written."

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.