summaryrefslogtreecommitdiff
path: root/support/check_forensic
diff options
context:
space:
mode:
authorBen Laurie <ben@apache.org>2004-01-15 20:51:09 +0000
committerBen Laurie <ben@apache.org>2004-01-15 20:51:09 +0000
commitd43870bbf391990e5f20c3516e45610d78a272fe (patch)
tree7f361221cedae81571a222854b98d73f00df256d /support/check_forensic
parent1dc72a2ff67aea768987007e17538ea6b0f5508b (diff)
downloadhttpd-d43870bbf391990e5f20c3516e45610d78a272fe.tar.gz
Note GNU difference.
PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102349 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/check_forensic')
-rwxr-xr-xsupport/check_forensic1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/check_forensic b/support/check_forensic
index d1512f34cf..a3b530917b 100755
--- a/support/check_forensic
+++ b/support/check_forensic
@@ -10,5 +10,6 @@ F=$1
cut -f 1 -d '|' $F > /tmp/fc-all.$$
grep + < /tmp/fc-all.$$ | cut -c2- | sort > /tmp/fc-in.$$
grep -- - < /tmp/fc-all.$$ | cut -c2- | sort > /tmp/fc-out.$$
+# use -i instead of -I for GNU xargs
join -v 1 /tmp/fc-in.$$ /tmp/fc-out.$$ | xargs -I xx egrep "^\\+xx" $F
rm /tmp/fc-all.$$ /tmp/fc-in.$$ /tmp/fc-out.$$