X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fexiwhat.src;h=2542b01984789671a446a970a497392c80268ce9;hb=65de12cc1acfeeacf85c3fd77d244b9dc7e79bdc;hp=c5bb312bb61bf148b9aec409eb047047887207c4;hpb=447de4b05520fb2c652ddb8958ba149da32102e2;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/exiwhat.src b/src/src/exiwhat.src index c5bb312bb..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.3 2009/01/02 16:58:05 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]* \)*//' ${log} | sort -n | uniq ; fi + else sort -nu ${log} ; fi # End of exiwhat