Re: [PATCH 04/10] shell helpers usage: always send help to stderr
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 3, 2016, 00:45 UTC
- Message-ID
- <xmqqlh3sotoh.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CAGZ79ka7uPxLKVU7Dn-4yHyN1BMgeG33_7LJDShF3UVjrT2fgQ@mail.gmail.com>
Stefan Beller <sbeller@google.com> writes:
Show 5 quoted lines
> git --help |grep pull > > instead of > > git --help 2>&1 |grep pull
Not just that. It makes me sad that it is unpredictable which stream a project happens to have chosen to send its help text and I end up almost always doing
random-command --help 2>&1 | less