Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2021 18:11:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 253413] pr(1) sometimes characters in multicolumn mode
Message-ID:  <bug-253413-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 253413
           Summary: pr(1) sometimes characters in multicolumn mode
           Product: Base System
           Version: 12.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: leonard.r.koenig@googlemail.com

Hello,

I've found that when using pr(1) with multiple columns and using tabs, it m=
ay
cut
off output "too early".  Consider the following file:

123456781234567812345678123456781
x       x       x       x       x
123456781234567812345678123456781
x       x       x       x       x

where we have "x\tx\tx\tx\tx" and run it through pr(1):

    $ pr -t -2 foo

The output is

123456781234567812345678123456781   123456781234567812345678123456781
x       x       x       x          x       x       x       x

I.e., missing a final x below the last '1' in each column.  As each line is=
 of
the same length, this shouldn't happen(?).

--=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-253413-227>