mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 10:28:36 +00:00
typofixes - https://github.com/vlajos/misspell_fixer
Suspicious sections: plugins/mail/postfix_mail_stats recieved.label plugins/nginx/nginx_vhost_traffic
This commit is contained in:
parent
8e18199f16
commit
fba800ae52
119 changed files with 176 additions and 176 deletions
|
@ -82,7 +82,7 @@ if( $ARGV[0] eq "" ){
|
|||
next if $line =~ /^\r$/; # or else
|
||||
next if $line =~ /^\r\n$/; # http specific
|
||||
( $key, $value, $last) = split( /\|/, $line ); # split up to three values
|
||||
$key =~ s/^\s//g; $key =~ s/\s$//g; # no spaces at the end and the begining
|
||||
$key =~ s/^\s//g; $key =~ s/\s$//g; # no spaces at the end and the beginning
|
||||
$value =~ s/^\s//g; $value =~ s/\s$//g;
|
||||
$value =~ s/(\d*)\s*.*/$1/g; # remove more than one values from splited data
|
||||
$value =~ s/[a-zA-Z\(\)\%]//g; # and not alphanummeric glyphs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue