Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] Fix use of wc in t0000-basic

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:41:58

quoted
quoted
quoted
quoted
"DB" == Daniel Barkalow [off-list ref] writes:
DB> Junio was stripping the filename (not whitespace) from wc, not knowing
DB> that it could be suppressed by using stdin.

Actually the reason I did so initially was because I recalled
seeing a wc that said "-" instead of omitting the filename.  I
do not have access to those obscure Unixen so I cannot these
things easily anymore, though.

DB> of wc that put whitespace at the beginning. I think the
DB> sed-only solution is far more obscure and no cleaner than
DB> cat and wc.

This I tend to agree, but that is probably one of the most
portable.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help