mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
Scripts: update from core.git
This commit is contained in:
+2
-2
@@ -84,7 +84,7 @@ sub process_file
|
||||
for my $line ( @lines ) {
|
||||
my $copy = $line;
|
||||
next if $line !~ s/copyright\s+\(c\)\s+//i;
|
||||
$line =~ s/^[."\*\\#\s]+//g;
|
||||
$line =~ s/^[."\*\\#\s-]+//g;
|
||||
$line =~ s/\s+$//g;
|
||||
chomp $copy;
|
||||
$copy =~ s/^[\*\\#\s]+//g;
|
||||
@@ -93,7 +93,7 @@ sub process_file
|
||||
$start = $1;
|
||||
$start =~ s/[,\s\-]+//g;
|
||||
}
|
||||
if ( $line =~ s/(\d\d\d\d\s*,?\s+)// ) {
|
||||
if ( $line =~ s/^(\d\d\d\d\s*,?\s+)// ) {
|
||||
$end = $1;
|
||||
$end =~ s/[,\s]+//g;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user