fixcrio — inserts missing CRs at the ends of lines.
prog filtering its standard I/O.
It inserts CR at the end of each line of input that it passes to
prog's input, and at the end of each line of output that it takes from
prog's output; wherever those lines do not already have a CR.
The fixcrio process runs as a child of the
prog process, so that service managers monitor and control the
prog as the main program.
It exits when it sees the end of
One use of fixcrio is to wrap Unix programs that use plain LF newline sequences, so that they can be used as servers for Internet protocols that use CR+LF newline sequences.