Created
November 10, 2022 13:41
-
-
Save navicore/e85344475eb97b49623309c31500d0d0 to your computer and use it in GitHub Desktop.
how to grep stderr or how to put stderr into stdin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cargo test 2>&1 >/dev/null | grep "warning" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can never remember this and when I try to look it up I find discussions of named pipes and anonymous pipes and a relearn I still don't have a useful mental model of 'nix after 3+ decades of daily use :)