4 ms·
In the meantime until every tool is rewritten to account for your recommendation, just add 2>&1 and stderr will redirect to stdout, so you can easily pipe it to
by galdosdi 3y ago
In the meantime until every tool is rewritten to account for your recommendation, just add 2>&1 and stderr will redirect to stdout, so you can easily pipe it to other stuff
- teraflop 3y agoOr just use "|& less" to do the same thing more succinctly.
- foresto 3y ago...if you happen to be using bash.
- lolinder 3y agoOr zsh: https://zsh.sourceforge.io/Doc/Release/Shell-Grammar.html#Simple-Commands-_0026-Pipelines https://zsh.sourceforge.io/Doc/Release/Shell-Grammar.html#Si... Fish just uses a different order (&|): https://fishshell.com/docs/current/language.html#piping https://fishshell.com/docs/current/language.html#piping
- vdfs 3y agoAh bummer, every command i run need to be backward compatible with Bell Labs first release
- eesmith 3y agoUnlikely. Pipes weren't added until Version 3 Unix. https://en.wikipedia.org/wiki/Pipeline_(Unix)#History https://en.wikipedia.org/wiki/Pipeline_(Unix)#History