git.shiar.nl
/
barcat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
strip trailing carriage returns
[barcat.git]
/
graph
diff --git
a/graph
b/graph
index eaafb764d387a5f65514ed3fcb017e8763e62840..e76ec645492b138a49ddfb11a52f1adf2e4b2088 100755
(executable)
--- a/
graph
+++ b/
graph
@@
-39,7
+39,7
@@
$SIG{INT} = 'IGNORE'; # continue after assumed eof
my (@lines, @values);
while (readline) {
-
chomp
;
+
s/\r?\n\z//
;
s/^\h*// unless $opt{unmodified};
push @values, s/^ ( \h* -? [0-9]* \.? [0-9]+ |)//x && $1;
if (defined $opt{trim}) {