On Wed Jan 15, 2025 at 12:22 PM CET, Jonas Konrad wrote: > What did you do before the bug happened? (Steps to reproduce your issue) > I opened a terminal on Arch Linux with a bash shell and called `git > branch -h` to get a usage overview of git's `branch` command. I then > tried processing the output with `grep` by `git branch -h | grep list` > which gave the whole (unfiltered) output, i.e., the displayed message > was not processed by `grep`. And that is exactly the correct behaviour. In the world of UNIX, where pipes are normal, utilities should send to the stdout only substantial material, which could be processed down the pipeline. Error messages, help, and similar diagnostics, should go to stderr. Also, you know about `|&`, right? Best, Matěj -- http://matej.ceplovi.cz/blog/, @mcepl@xxxxxxxxxxx GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 Thou shalt not lie. Thou shalt not deceive one another. -- Leviticus 19:11
Attachment:
E09FEF25D96484AC.asc
Description: application/pgp-keys
Attachment:
signature.asc
Description: PGP signature