projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altered wcy display a bit
[spider.git]
/
perl
/
watchdbg
diff --git
a/perl/watchdbg
b/perl/watchdbg
index fef5cdf7e8e1f54a081f3da530b2fcd08e32f71b..17bb3289af9f49b58c138cee19805688e759c59e 100755
(executable)
--- a/
perl/watchdbg
+++ b/
perl/watchdbg
@@
-67,8
+67,8
@@
sub printit
my $line = shift;
my @line = split '\^', $line;
my $t = shift @line;
my $line = shift;
my @line = split '\^', $line;
my $t = shift @line;
-
my ($sec,$min,$hour) = gmtime((defined $t) ? $t : time);
-
my $buf = sprintf "%02d:%02d:%02d", $hour, $min, $sec;
+ my ($sec,$min,$hour) = gmtime((defined $t) ? $t : time);
+ my $buf = sprintf "%02d:%02d:%02d", $hour, $min, $sec;
print $buf, ' ', join('^', @line);
}
print $buf, ' ', join('^', @line);
}