]> granicus.if.org Git - apache/commitdiff
Note GNU difference.
authorBen Laurie <ben@apache.org>
Thu, 15 Jan 2004 20:51:09 +0000 (20:51 +0000)
committerBen Laurie <ben@apache.org>
Thu, 15 Jan 2004 20:51:09 +0000 (20:51 +0000)
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

support/check_forensic

index d1512f34cf1d2364094ffa0ed6a58cfe6aabe16f..a3b530917bd9530c5fbede1eebed54c48117148d 100755 (executable)
@@ -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.$$