Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Aug 2018 19:27:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 230300] wc -L always returns 0
Message-ID:  <bug-230300-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230300

            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@FreeBSD.org
          Reporter: amstrnad+bugzilla@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 confirm=
ed
it still exists on r336739.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230300-227>