aboutsummaryrefslogtreecommitdiffstats
path: root/tools/list_protos_in_cap.sh
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-04-05 19:21:16 +0000
committerBill Meier <wmeier@newsguy.com>2011-04-05 19:21:16 +0000
commit4f462b3d09e661d64714187636ddb851457c1c39 (patch)
tree963adfc8220cdce6718cbcf39731cc23b5a15a4e /tools/list_protos_in_cap.sh
parent84837d8fcdb987b58f0953b26709d783946aea50 (diff)
foo="\windows\style\pathname"; printf "$foo" isn't going to work too well in the general case ...
svn path=/trunk/; revision=36479
Diffstat (limited to 'tools/list_protos_in_cap.sh')
-rwxr-xr-xtools/list_protos_in_cap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/list_protos_in_cap.sh b/tools/list_protos_in_cap.sh
index e831caeb77..609b56f412 100755
--- a/tools/list_protos_in_cap.sh
+++ b/tools/list_protos_in_cap.sh
@@ -77,7 +77,7 @@ for CF in "$@" ; do
continue
fi
- printf "$CF "
+ printf "%s: " "$CF"
# Extract the protocol names.
$TSHARK -T fields -eframe.protocols -nr "$CF" 2>/dev/null | tr ':\r' '\n' \