diff options
-rw-r--r-- | tools/tools/whereintheworld/whereintheworld.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/tools/whereintheworld/whereintheworld.pl b/tools/tools/whereintheworld/whereintheworld.pl index 23654df..d64e7e5 100644 --- a/tools/tools/whereintheworld/whereintheworld.pl +++ b/tools/tools/whereintheworld/whereintheworld.pl @@ -34,6 +34,10 @@ while ($line = <>) { $lastwasdash = 0; next; } + if ($line =~ /^TB /) { + print $line; + next; + } if ($line =~ /^=+>/) { @lines = (); } @@ -58,7 +62,7 @@ if (!$error) { } } foreach $line (@lines) { - if (!$error && length($line) >= $width) { + if (!$error && $line !~ m/^TB / && length($line) >= $width) { substr($line, $width - 7) = " [...]\n"; } print $line; |