Bug ID |
9878
|
Summary |
"tshark -G values" doesn't match documentation
|
Classification |
Unclassified
|
Product |
Wireshark
|
Version |
1.10.6
|
Hardware |
x86
|
OS |
Mac OS X 10.8
|
Status |
UNCONFIRMED
|
Severity |
Major
|
Priority |
Low
|
Component |
TShark
|
Assignee |
[email protected]
|
Reporter |
[email protected]
|
Build Information:
TShark 1.10.7 (v1.10.7-rc1-6-gbf8a7d7 from master-1.10)
Copyright 1998-2014 Gerald Combs <[email protected]> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiled (64-bit) with GLib 2.36.4, with libpcap, with libz 1.2.5, without
POSIX
capabilities, without libnl, with SMI 0.4.8, with c-ares 1.10.0, with Lua 5.1,
without Python, with GnuTLS 3.1.10, with Gcrypt 1.5.3, with MIT Kerberos, with
GeoIP.
Running on Mac OS X 10.8.5, build 12F45 (Darwin 12.5.0), with locale
en_US.UTF-8, with libpcap version 1.1.1, with libz 1.2.5.
Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz
Built using clang 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.75).
--
The "-G values" section of the tshark man page says
values Dumps the value_strings, range_strings or true/false strings
for fields that have them. There is one record per line. [ ... ]
However, some value strings contain newlines which results in multiple lines
per record:
$ ./tshark -G values | grep -v -B1 '^[VTER]\t'
V lcsap.pos_usage 4 Attempted successfully: case where UE supports
multiple mobile based positioning methods
and the actual method or methods used by the UE cannot be determined.
--
V lcsap.gnss_pos_usage 4 Attempted successfully: case where UE
supports multiple mobile based positioning methods
and the actual method or methods used by the UE cannot be determined.
--
V gryphon.addresp.action 2 Send response(s) for a conforming message
and ignore
further messages until the specified period expires
(this is with BSD grep. GNU grep will need the "-P" flag)
Should we add a check for newlines in value strings to checkAPIs.pl, scrub the
newlines in "-G values" or something else?
You are receiving this mail because:
- You are watching all bug changes.