More bytes
This commit is contained in:
parent
3a46008843
commit
d7925fdf46
1 changed files with 4 additions and 4 deletions
|
@ -84,7 +84,7 @@ unsigned long total=0L;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(atty) {
|
if(atty) {
|
||||||
printf("%8lu bytes\b\b\b\b\b\b\b\b\b\b\b\b\b\b", total);
|
printf("%9lu bytes\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b", total);
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -114,7 +114,7 @@ unsigned long total=0L;
|
||||||
write(fdout, buffer, s);
|
write(fdout, buffer, s);
|
||||||
total += (long)s;
|
total += (long)s;
|
||||||
if(atty) {
|
if(atty) {
|
||||||
printf("%8lu bytes\b\b\b\b\b\b\b\b\b\b\b\b\b\b", total);
|
printf("%9lu bytes\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b", total);
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -183,7 +183,7 @@ unsigned long total=0L;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(atty && fd > 2) {
|
if(atty && fd > 2) {
|
||||||
printf("%8lu bytes\b\b\b\b\b\b\b\b\b\b\b\b\b\b", total);
|
printf("%9lu bytes\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b", total);
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -213,7 +213,7 @@ unsigned long total=0L;
|
||||||
write(fd, buffer, s);
|
write(fd, buffer, s);
|
||||||
total += (long)s;
|
total += (long)s;
|
||||||
if(atty && fd > 2) {
|
if(atty && fd > 2) {
|
||||||
printf("%8lu bytes\b\b\b\b\b\b\b\b\b\b\b\b\b\b", total);
|
printf("%9lu bytes\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b", total);
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue