#! /usr/bin/ruby -p # strip_cr - remove carriage returns # $stdout.sync = true $_.sub!(/\r/, '')