Allow IPv6 address entry in tools>ping - Loosens valid character check
[tomato/davidwu.git] / release / src / router / lzo / util / notime.pl
blob9d8a6d14f392e6b6007bd1038f089bb38d2881dd
1 #! /usr/bin/perl
2 ##
3 ## vi:ts=4
4 ##
5 ##---------------------------------------------------------------------------##
6 ##
7 ## Author:
8 ## Markus F.X.J. Oberhumer <markus@oberhumer.com>
9 ##
10 ## Description:
11 ## Remove timing values from a table created by table.pl
13 ## Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer
15 ##---------------------------------------------------------------------------##
18 while (<>) {
19 if (substr($_,56) =~ /^\s+[\d\.]+\s+[\d\.]+\s+\|\s*\n$/) {
20 substr($_,56) = " 0.000 0.000 |\n";
22 print;
25 exit(0);