Bug 166546
Summary: | "total" line for "max line length" is badly labelled | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Need Real Name <lsof> |
Component: | coreutils | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-09-05 11:42:49 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Need Real Name
2005-08-23 08:18:46 UTC
Tricky to fix since only the one line heading is given for both "total"-types and "maximum"-types. This line is also specified to quite a high degree in the documentation, so it is not something that can easily be changed. There is a paragraph all about this particular oddity: With the `--max-line-length' option, `wc' prints the length of the longest line per file, and if there is more than one file it prints the maximum (not the sum) of those lengths. So I'm going to close this, since it is consistent with the documented behaviour. I think this is wrong. Why? Because the documentation would not need changing if the word "total" was corrected to "max". Well, it would -- read the info page that I took that paragraph from. What do you think the output from 'wc -l -L *.txt | tail -n1' should be, for instance? If you want this changed, you'll need to discuss the change with upstream. This isn't something we can easily change since the scope of the bug/feature is not clear. |