Imagine you get a lengthy help description which then you pipe to less… and you only get (END) in your terminal. Turns out the author decided to print help message to stderr instead of stdout. I assume newcomers will be as confused as I was when it happened to me for the first time. GNU utils use stdout for help texts, and so should you.


There is a discussion on Hacker News, but feel free to comment here as well.

  • db2
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Or learn how to redirect output. It’s not like it’s hard.