[Bug 230300] wc -L always returns 0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 2 19:27:07 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230300

            Bug ID: 230300
           Summary: wc -L always returns 0
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: amstrnad+bugzilla at gmail.com

Running `wc -L` on any file returns 0, no matter the contents of the file.

If run instead with `wc -Ll`, both the number of lines and the length of the
longest line are reported correctly.

I found this on an old version of 12-CURRENT (from December), but I confirmed
it still exists on r336739.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list