From b56aac320b359254e76c850cd3df7c5a71df0747 Mon Sep 17 00:00:00 2001 From: ache Date: Tue, 24 Sep 2002 20:05:01 +0000 Subject: Make it works with POSIX sort (POS arg) All old sorts understand -k too. --- tools/diag/httpd-error/httpd-error | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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$' | -- cgit v1.1