X-Git-Url: http://git.shiar.nl/barcat.git/blobdiff_plain/0c76b65c87c4629208386321d064498192c20d13..dc38ca198369f674b29911f761338aac420f2db6:/barcat diff --git a/barcat b/barcat index cdb41da..4cb2cd1 100755 --- a/barcat +++ b/barcat @@ -112,7 +112,7 @@ while (readline) { my $trimpos = abs $opt{trim}; $trimpos -= length $1 if $opt{unmodified}; if ($trimpos <= 1) { - $_ = substr $_, 0, 1; + $_ = substr $_, 0, 2; } elsif (length > $trimpos) { substr($_, $trimpos - 1) = '…';