Skip to content

Correct Badblocks Completion Status Output #2

@DncrJim

Description

@DncrJim

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions