Skip to content

pr: char wider than the page width is not dropped #16499

Open

Description

@sylvestre

GNU coreutils master now drops a character that is wider than the page width (it used to loop forever here).

$ printf '\tone\n\ttwo\n\tthree\n' | pr -t -W 5

GNU prints three empty lines; uutils prints \tone, \ttwo, \tthre. With
-n, GNU prints 1\t per line.

Test added in #16493: cargo test --features unix --test tests -- --ignored test_pr::test_page_width_narrower_than_leading_tab

Activity

  1. added a commit that references this issue on Nov 26, 2026
    902a904
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions