News for hackers. Stuff that matters.
Re:dd built-in progress introduced in coreutils 8.24 by __david__ on Sunday January 10, 2016 @09:58PM (#10878502)
Yeah, it's ugly, but it's sadly the only way to correctly do cross platform prints where the type may or may not be 64 bit.
Re:dd built-in progress introduced in coreutils 8.24 by _kst_ on Sunday January 10, 2016 @10:20PM (#10878576)
The `PRIuMAX` macro in particular is not necessary. It expands to a format usable for `uintmax_t`, but you can also use `"%ju"`. Both were introduced in ISO C99.

(Unless your `printf` implementation doesn't recognize `"%ju"`, and the `PRIuMAX` macro and friends are defined in some non-standard system-specific manner.)

Re:dd built-in progress introduced in coreutils 8.24 by e12e on Monday January 11, 2016 @12:14AM (#10878955)
Related, the recently posted "How to write C in 2016":

https://news.ycombinator.com/item?id=10864176