diff options
author | ache <ache@FreeBSD.org> | 2002-09-24 20:05:01 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-09-24 20:05:01 +0000 |
commit | b56aac320b359254e76c850cd3df7c5a71df0747 (patch) | |
tree | 00e22cbbdd6007d33d6add0c5b7e025f7952dab8 /tools/diag | |
parent | 98b90cd850db79ea692cb187877279d89c07fbc8 (diff) | |
download | FreeBSD-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')
-rwxr-xr-x | tools/diag/httpd-error/httpd-error | 2 |
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$' | |