summaryrefslogtreecommitdiff
path: root/one-off
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2015-10-12 00:42:47 +0200
committerPeter Wu <peter@lekensteyn.nl>2015-10-12 00:42:47 +0200
commit2888f8e1b418208001e93bd488aea452c6f586c1 (patch)
tree70075464e85c20f82345ebe4f06418405daf3c4b /one-off
parent88294ab6af6faece2bacd864e70f9fce570c176a (diff)
downloadwireshark-notes-2888f8e1b418208001e93bd488aea452c6f586c1.tar.gz
find-expert-in-tree: fix formatting
Diffstat (limited to 'one-off')
-rwxr-xr-xone-off/find-expert-in-tree2
1 files changed, 1 insertions, 1 deletions
diff --git a/one-off/find-expert-in-tree b/one-off/find-expert-in-tree
index 3ee9a5f..5c5631b 100755
--- a/one-off/find-expert-in-tree
+++ b/one-off/find-expert-in-tree
@@ -93,7 +93,7 @@ xargs -rt -P$(nproc) -n10 clang-query "${args[@]}"
rm "$tmp"
cat <<'EOF'
# Use this for analysis:
-awk '/"[r]oot" binds here/{i=3} !/clang-query/&&i>0{print;i--}' scan.log | less -R
+awk '/"[r]oot" binds here/{i=3} !/clang-query/&&i>0{printf("%s\033[m\n", $0);i--}' scan.log | less -r
EOF
# vim: set sw=4 ts=4 et: