Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My favourite non-standard tool is pv[0]. In it's simplest use case, pv is a replacement for cat that also outputs a progress bar to stderr. You can use it to add a progress bar (or multiple) to just about any pipeline. I love it because I know if the one-liner I wrote is about to finish in a couple minutes or if it will be a while and I should either write something more efficient, or do something else while I'm waiting.

[0] https://linux.die.net/man/1/pv



From the PV man page (https://linux.die.net/man/1/pv)

> A more complicated example using numeric output to feed into the dialog(1)

> program for a full-screen progress display: ...

> Frequent use of this third form is not recommended as it may cause the programmer to overheat.

^- is that a wisecrack hidden in an otherwise serious man page?


PSA: don't use linux.die.net. It's horribly outdated.

This sentence was removed from the man page in pv 1.4.0, released in December 2012.


Agreed, actually enjoy using Arch manpages now:

https://man.archlinux.org/man/community/pv/pv.1.en


Just happened to be the first result that came up, but good to know.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: