aboutsummaryrefslogtreecommitdiff
path: root/toys/other/dos2unix.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-12-03 15:11:52 -0600
committerRob Landley <rob@landley.net>2013-12-03 15:11:52 -0600
commitb0d4872f532bead29307654bbc511d6083abf2af (patch)
tree06adc223a732480b58b19cb531867b838fc2c88e /toys/other/dos2unix.c
parent83d3a0ba8d98a2d4fcf52d09a3c7f097baf0e1f2 (diff)
downloadtoybox-b0d4872f532bead29307654bbc511d6083abf2af.tar.gz
Redo od whitespace with multiple output types so the columns align.
Factor out single output type into od_out_t(), call it in a loop for each type finding largest output (and if output consumes more than one byte of input average rounding up), pad each output to the largest output times number of bytes input consumed.
Diffstat (limited to 'toys/other/dos2unix.c')
0 files changed, 0 insertions, 0 deletions