New-lines just look ugly when the screen width isn't 80 columns. Knowing exactly how much progress we have made in increments of 80,000 isn't that useful IMHO. As an aside, I've been considering patching it to display "12345" instead of "*****" as the progress. If you think this is a good idea then let me know and I'll submit a patch to do it. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/
--- policycoreutils-2.1.0.orig/setfiles/restore.c +++ policycoreutils-2.1.0/setfiles/restore.c @@ -114,10 +114,6 @@ if (r_opts->progress) { r_opts->count++; - if (r_opts->count % (80 * STAR_COUNT) == 0) { - fprintf(stdout, "\n"); - fflush(stdout); - } if (r_opts->count % STAR_COUNT == 0) { fprintf(stdout, "*"); fflush(stdout);