summaryrefslogtreecommitdiffstats
path: root/tools/diag/httpd-error
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2002-09-24 20:05:01 +0000
committerache <ache@FreeBSD.org>2002-09-24 20:05:01 +0000
commitb56aac320b359254e76c850cd3df7c5a71df0747 (patch)
tree00e22cbbdd6007d33d6add0c5b7e025f7952dab8 /tools/diag/httpd-error
parent98b90cd850db79ea692cb187877279d89c07fbc8 (diff)
downloadFreeBSD-src-b56aac320b359254e76c850cd3df7c5a71df0747.zip
FreeBSD-src-b56aac320b359254e76c850cd3df7c5a71df0747.tar.gz
Make it works with POSIX sort (POS arg)
All old sorts understand -k too.
Diffstat (limited to 'tools/diag/httpd-error')
-rwxr-xr-xtools/diag/httpd-error/httpd-error2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/diag/httpd-error/httpd-error b/tools/diag/httpd-error/httpd-error
index e2cbb40..a7f35be 100755
--- a/tools/diag/httpd-error/httpd-error
+++ b/tools/diag/httpd-error/httpd-error
@@ -44,7 +44,7 @@ case "$mode" in
-user)
grep 'File does not exist$' |
awk '{print $8}' |
- sort | uniq -c | sort +1
+ sort | uniq -c | sort -k 2
;;
-userhits)
grep 'File does not exist$' |
OpenPOWER on IntegriCloud