Skip to content
Snippets Groups Projects
Commit 599ff449 authored by Karl-Hermann Wieners's avatar Karl-Hermann Wieners
Browse files

Tools: import allows fractions in output timestamps

parent a5871990
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ exists $opts{x} and $xlog = '\+';
my %file_info = ();
while(<>) {
s/^\d{4,}-\d\d-\d\dT\d\d:\d\d:\d\d: //; # Remove log time stamps
s/^\d{4,}-\d\d-\d\dT\d\d:\d\d:\d\d(?:[,.]\d+)?: //; # Remove log time stamps
if(my ($mtd, undef, $src, $dst) =
m{^$xlog\s*((cdo|cp|ln)\s.*)\s+(\S+)\s+(\S+)\s*$}) {
#DEBUG# warn($_, join(':', $mtd, $src, $dst), "\n"); #DEBUG#
......
......@@ -113,7 +113,7 @@ my $namelist_group = {};
my $namelist_variable = [];
while(<>) {
s/^\d{4,}-\d\d-\d\dT\d\d:\d\d:\d\d: //; # Remove log time stamps
s/^\d{4,}-\d\d-\d\dT\d\d:\d\d:\d\d(?:[,.]\d+)?: //; # Remove log time stamps
if($in_doc && m/^EOF/) {
if($open_value) {
$direct and print("\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment