fixcrio — inserts missing CRs at the ends of lines.
fixcrio
{prog
}
fixcrio runs 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 prog
's output.