[Bug 292285] FreeBSD stat -h is broken from POSIX point of view

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 08 Jan 2026 22:27:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292285

Dag-Erling Smørgrav <des@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Closed
                 CC|                            |des@FreeBSD.org
         Resolution|---                         |Works As Intended

--- Comment #2 from Dag-Erling Smørgrav <des@FreeBSD.org> ---
You are mistaken.  POSIX2_LINE_MAX is not an upper limit on the length of lines
a utility may produce, it is a lower limit on the length of lines that a
utility that reads line-oriented input must accept.  Thus, the output from
`stat -h` may not necessarily be processable by tools such as sed or awk, but
others (like grep) will have no issues with it.

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