stdout from badblocks using -sv produces status updates that I want to replicate into a log file, however, the control command character ^H is used to backspace through previous written material, and therefore the log file output becomes very large and cumbersome to read the current status. Need solution to parse (preferably at stdout time) the control character correctly when saving to file.
Additional details:
https://stackoverflow.com/questions/64163840/processing-backspace-control-character-h-in-real-time-while-logging-sdout-to
stdout from badblocks using -sv produces status updates that I want to replicate into a log file, however, the control command character ^H is used to backspace through previous written material, and therefore the log file output becomes very large and cumbersome to read the current status. Need solution to parse (preferably at stdout time) the control character correctly when saving to file.
Additional details:
https://stackoverflow.com/questions/64163840/processing-backspace-control-character-h-in-real-time-while-logging-sdout-to