Changes

From SME Server
Jump to navigationJump to search
7 bytes removed ,  12:58, 29 July 2017
change awk pattern from /logterse plugin/ to /logterse/
Line 305: Line 305:  
|tai64nlocal |egrep $mydate | grep -v ^# | \
 
|tai64nlocal |egrep $mydate | grep -v ^# | \
 
awk -v date="$mydate" -v tots="                                  {{Total}}          " -F"[\t]" ' \
 
awk -v date="$mydate" -v tots="                                  {{Total}}          " -F"[\t]" ' \
/logterse plugin/ {split($4,ss,"."); ssn=0; for (i in ss) { ssn++}; \
+
/logterse/ {split($4,ss,"."); ssn=0; for (i in ss) { ssn++}; \
 
sendtld=tolower( ss[ssn]); sub(">","",sendtld); \
 
sendtld=tolower( ss[ssn]); sub(">","",sendtld); \
 
tld=sprintf("%-20s",sendtld); plugin=sprintf("%-35s",$6); \
 
tld=sprintf("%-20s",sendtld); plugin=sprintf("%-35s",$6); \

Navigation menu