strip trailing carriage returns
authorMischa POSLAWSKY <perl@shiar.org>
Thu, 5 Sep 2019 20:08:13 +0000 (22:08 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Thu, 5 Sep 2019 21:56:49 +0000 (23:56 +0200)
commita052b8d20f25e69c82104135c9925c17dcaa3eb3
tree0b4e411639b063f552c76136a38eaac0bb62f668
parentae90555c01d3aa4495ce2c8e0c73e1eb1eaea77a
strip trailing carriage returns

Support CRLF line termination regardless of system record separator,
preventing mangled output due to column returns before appended graphs.
Besides Windows files, \r is also added by unbuffer -p for some reason.
graph