summaryrefslogtreecommitdiff
path: root/main/src/main/cpp/lzo/util/notime.pl
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/main/cpp/lzo/util/notime.pl')
-rw-r--r--main/src/main/cpp/lzo/util/notime.pl25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/src/main/cpp/lzo/util/notime.pl b/main/src/main/cpp/lzo/util/notime.pl
new file mode 100644
index 00000000..b5be12d6
--- /dev/null
+++ b/main/src/main/cpp/lzo/util/notime.pl
@@ -0,0 +1,25 @@
+#! /usr/bin/perl
+## vim:set ts=4 sw=4 et: -*- coding: utf-8 -*-
+##
+##---------------------------------------------------------------------------##
+##
+## Author:
+## Markus F.X.J. Oberhumer <markus@oberhumer.com>
+##
+## Description:
+## Remove timing values from a table created by table.pl
+##
+## Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer
+##
+##---------------------------------------------------------------------------##
+
+
+while (<>) {
+ if (substr($_,56) =~ /^\s+[\d\.]+\s+[\d\.]+\s+\|\s*\n$/) {
+ substr($_,56) = " 0.000 0.000 |\n";
+ }
+ print;
+}
+
+exit(0);
+