Fix log formatter
This commit is contained in:
@@ -11,5 +11,5 @@ param([string] $file = "SOUR.log")
|
||||
# leggo file
|
||||
Get-Content $file |
|
||||
# sostituisco 2 volte x i 2 item
|
||||
ForEach-Object { $_ -replace "([\w|\W]+)T(\w+)[.](\w+)[.](\w+)[.](\w+)", '$1T$2:$3:$4:$5' } |
|
||||
ForEach-Object { $_ -replace "([\w|\W]+)T(\w+)[.](\w+)[.](\w+)[.](\w+)", '$1T$2:$3:$4:$5' } | Out-file -encoding UTF8 fix_$file
|
||||
ForEach-Object { $_ -replace "([\w|\W]+)T(\w+)[.](\w+)[.](\w+)[.](\w+)", '$1T$2:$3:$4.$5' } |
|
||||
ForEach-Object { $_ -replace "([\w|\W]+)T(\w+)[.](\w+)[.](\w+)[.](\w+)", '$1T$2:$3:$4.$5' } | Out-file -encoding UTF8 fix_$file
|
||||
Reference in New Issue
Block a user