X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fsrc%2Fexiwhat.src;h=2542b01984789671a446a970a497392c80268ce9;hb=6968512fc21cf0a41b2751bb9df39ed40941c1c3;hp=3af128cf49c54a6cd391b6486644133aeb4d88f2;hpb=b2335c0b21d064f660e593112f8c349e48414c9f;p=exim.git 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