Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mkexp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package Registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
esmenv
mkexp
Commits
599ff449
Commit
599ff449
authored
11 months ago
by
Karl-Hermann Wieners
Browse files
Options
Downloads
Patches
Plain Diff
Tools: import allows fractions in output timestamps
parent
a5871990
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
files2config
+1
-1
1 addition, 1 deletion
files2config
namelist2config
+1
-1
1 addition, 1 deletion
namelist2config
with
2 additions
and
2 deletions
files2config
+
1
−
1
View file @
599ff449
...
...
@@ -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#
...
...
This diff is collapsed.
Click to expand it.
namelist2config
+
1
−
1
View file @
599ff449
...
...
@@ -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
");
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment