Re: [PATCH v1 1/1] check-non-portable-shell.pl: Quoted `wc -l` is not portable
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 11, 2017, 23:07 UTC
- Message-ID
- <xmqqvahc50eg.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20171210105013.3984-1-tboegi@web.de>
tboegi@web.de writes:
> From: Torsten Bögershausen <tboegi@web.de> > > wc -l is used to count the number if lines in test scripts.
Hmmmm, "is used" -> "should not be used", probably.
Just say "Use test_line_count instead" and leave the explanation why it is a better thing to use to fb3340a6 ("test-lib: introduce test_line_count to measure files", 2010-10-31), perhaps?