Re: [TUHS] Re: non-Posix input files

2025-03-27 Thread G. Branden Robinson
Hi Doug, At 2025-03-27T15:50:50-0400, Douglas McIlroy wrote: > It seems my reply to Clem went astray. POSIX Part 2, Shell and > Utilities, is very clear: > > 2..2.2.181 text file: A File that contains characters organized into > one or more lines. > The lines shall not contain NUL characters ...

Re: [TUHS] Re: non-Posix input files

2025-03-27 Thread G. Branden Robinson
[CC updated] Hi folks, This thread started on the groff@gnu list, so I'm looping it back in. https://lists.gnu.org/archive/html/groff/2025-02/msg00088.html https://lists.gnu.org/archive/html/groff/2025-03/msg00070.html The formatter, GNU troff: * catenates its input into a single stream, disre

Re: non-Posix input files

2025-03-27 Thread G. Branden Robinson
Hi Doug, At 2025-02-20T11:56:17-0500, Douglas McIlroy wrote: > info groff gives semantics for including nonempty files that don't end > with newline. Such files violate the Posix definition of text file. > > Although groff is certainly justified in providing semantics for > non-Posix text, I sugge

non-Posix input files

2025-02-20 Thread Douglas McIlroy
info groff gives semantics for including nonempty files that don't end with newline. Such files violate the Posix definition of text file. Although groff is certainly justified in providing semantics for non-Posix text, I suggest that it should warn when it does so. Doug