#1074131 coreutils: ptx: some -F values completely break the layout

Package:
coreutils
Source:
coreutils
Description:
GNU core utilities
Submitter:
наб
Date:
2024-06-23 15:09:03 UTC
Severity:
normal
#1074131#5
Date:
2024-06-23 15:04:01 UTC
From:
To:
Dear Maintainer,

Compare:
$ ptx -i <(echo ‒; echo -; echo z; cat /usr/share/groff/current/eign) -f -b <(echo '       ') -w 40  <(sed -e 's/.*  //' -e 's/‒/-/g' b)
    /merge or filter   adjacent identical/
      - execute with   alternate/   /chroot
        /information   arch - get system/
             /output   arguments/
     z z z z z z z z   b     /z z z z z z z
    /- configure I/O   buffers chroot -/
         /character,   byte, and line/
         /character,   byte, and line/
      /- line, word,   character, byte,/
     /- qline, word,   character, byte,/
        /I/O buffers   chroot - execute/
        /libstdbuf -   configure I/O/
        /state yes -   continually output/
    /and line length   count wc - qline,/
    /and line length   count who - list/
           /chroot -   execute with/
    /unlink - remove   file link wc -/
     /with alternate   filesystem root z/
    /uniq - merge or   filter adjacent/
        /- configure   I/O buffers chroot/
    /filter adjacent   identical lines/
       /- get system   information arch -/
       /- get system   information uniq -/
     /byte, and line   length count wc -/
     /byte, and line   length count who -/
          /arguments   libstdbuf -/
   wc/    /byte, and   line length count
          /byte, and   line length count/
     /file link wc -   line, word,/
          /identical   lines unlink -/
      /- remove file   link wc - line,/
        /count who -   list login and/
      /state users -   list login and/
         /who - list   login and system/
       /users - list   login and system/
   system/             machine - get
             /uniq -   merge or filter/
      /- continually   output arguments/
         /count wc -   qline, word,/
     /lines unlink -   remove file link/
   z/    /filesystem   root z z z z z z z
       machine - get   system information/
         /arch - get   system information/
     /list login and   system state users/
     /list login and   system state yes -/
        /information   uniq - merge or/
    /identical lines   unlink - remove/
       /system state   users - list login/
          /file link   wc - line, word,/
       /length count   wc - qline, word,/
    /link wc - line,   word, character,/
        /wc - qline,   word, character,/
       /system state   yes - continually/

With:
$ ptx -i <(echo ‒; echo -; echo z; cat /usr/share/groff/current/eign) -f -b <(echo '       ') -w 40  <(sed -e 's/.*  //' -e 's/‒/-/g' b) -F…
        …or filter   adjacent…
             …with   alternate…
      …information   arch - get…
           …output   arguments…
         z z z z z z   b       …z z z z z
   -…       …I/O   buffers chroot
       …character,   byte, and line…
       …character,   byte, and line…
         line, word,   character,…   …-
            …word,   character,…
      …I/O buffers   chroot -…
      …libstdbuf -   configure I/O…
      …state yes -   continually…
      …line length   count wc -…
      …line length   count who -…
         …chroot -   execute with…
         …- remove   file link wc -…
        …alternate   filesystem…
          - merge or   filter…    …uniq
      …- configure   I/O buffers…
         …adjacent   identical…
       …get system   information…
       …get system   information…
         …and line   length count…
         …and line   length count…
        …arguments   libstdbuf -…
        …byte, and   line length…
        …byte, and   line length…
        …link wc -   line, word,…
        …identical   lines unlink -…
         remove file   link wc -…    …-
      …count who -   list login and…
          …users -   list login and…
       …who - list   login and…
           …- list   login and…
   system…           machine - get
           …uniq -   merge or…
         continually   output…   …yes -
       …count wc -   qline, word,…
         …unlink -   remove file…
       …filesystem   root z z z z z…
            …- get   system…
       …arch - get   system…
        …login and   system state…
        …login and   system state…
      …information   uniq - merge…
            …lines   unlink -…
            …state   users - list…
        …file link   wc - line,…
            …count   wc - qline,…
          wc - line,   word,…     …link
         wc - qline,   word,…    …count
               state   yes -…   …system

b attached; eign from bookworm groff

Best,