X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/b2335c0b21d064f660e593112f8c349e48414c9f..55b583f6c31af475f329da97cd160a8ab2e8df8c:/src/src/exiwhat.src?ds=sidebyside diff --git a/src/src/exiwhat.src b/src/src/exiwhat.src index 3af128cf4..2542b0198 100644 --- a/src/src/exiwhat.src +++ b/src/src/exiwhat.src @@ -1,7 +1,6 @@ #! /bin/sh -# $Cambridge: exim/src/src/exiwhat.src,v 1.4 2009/10/19 11:47:44 nm4 Exp $ -# Copyright (c) 2003 University of Cambridge. +# Copyright (c) University of Cambridge, 1995 - 2007 # See the file NOTICE for conditions of use and distribution. # Except when they appear in comments, the following placeholders in this @@ -130,7 +129,7 @@ fi sleep 1 if [ ! -s ${log} ] ; then echo "No exim process data" ; - else sed 's/^[0-9-]* [0-9:]* \([+-][0-9]* \)*\(\[[0-9]\+\] \)\?//' ${log} | sort -n | uniq ; fi + else sort -nu ${log} ; fi # End of exiwhat