-
Notifications
You must be signed in to change notification settings - Fork 214
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
-vb duplicates progress bar output #53
Comments
Hi, The reason you're seeing two is that it tries to show an interactive progress bar while touching, by printing "\r" to go back to the beginning of the line and overwriting with a new progress bar. I believe it does this at the beginning and the end of processing each file, which is why you're seeing 2 even though you're not touching (just displaying). I agree this looks like a bug. I'll think about the best way to solve this and update this ticket when I do. In the meantime, you can eliminate the excess lines with the following: cat vmtouch.out | perl -pe 's/^.*\r//' Thanks for the report! |
I've encountered the same issue, reproduced with:
My use case is to regularly display
Having output repeated twice is undesirable. Perhaps |
Having looked at the code, the carriage return characters can be eliminated for the case where |
Hi,
if you run
vmtouch -vb
the progress bar lines are added twice to the output file. It would be great if the lines just occur once.Steps to reproduce:
Regards,
Carstem
The text was updated successfully, but these errors were encountered: