In such cases awk does a hell of a job with just a one-liner:
awk '{printf "%-116s\n",$0 }' RS="\r\n" input.txt > output.txtThat's it :-)
...or how to be heavyweight and agile at the same time
awk '{printf "%-116s\n",$0 }' RS="\r\n" input.txt > output.txtThat's it :-)
No comments:
Post a Comment