Laurent Lyaudet <[email protected]> writes:
> Did you read everything here:
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70860
> before adding the tag "Not a bug",
> and then closing my feature request?
Yes.
> Congrats on finding by yourself that a feature request is not a bug!
> Shame on closing it!
Obviously it was more of a "feature demand" and not a "feature request",
given your attitude in that report which clearly remains unchanged.
I agree with Chris Elvidge's point that removing the file names makes it
difficult to see which line count corresponds to each number. Note that
'wc' may be piped into something like 'sort' and therefore re-ordered
from the command line arguments.
I also agree with Paul Eggert that there isn't a clear need for the
feature.
Many people gave you ideas for your desired output. In particular, I
liked the one suggested by Andreas Schwab:
lines=$(wc -l -- "${files[@]}" | awk '{print $1}')
Collin