Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct Badblocks Completion Status Output #2

Open
DncrJim opened this issue Oct 4, 2020 · 0 comments
Open

Correct Badblocks Completion Status Output #2

DncrJim opened this issue Oct 4, 2020 · 0 comments

Comments

@DncrJim
Copy link
Owner

DncrJim commented Oct 4, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant