bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'pr' expands tabs incorrectly?


From: Eric Blake
Subject: Re: 'pr' expands tabs incorrectly?
Date: Wed, 14 Mar 2007 19:46:36 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.4.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Macomson, Wis on 3/14/2007 3:48 PM:
>  $ pr --version
>  pr (coreutils) 5.2.1

Consider upgrading.  The latest stable version is 6.7, and 6.8 is
available for testing.

> 
> Am I doing something wrong, or is there a problem in 'pr'?

Given your sample files, I reproduced the issue.  It appears you have
uncovered a real bug in pr, but I don't have time to look into it right
now.  Maybe someone else on the list is motivated enough to resolve it?

$ pr --version | head -n1
pr (GNU coreutils) 6.7
$ cat -A f?
f1r1c1^If1r1c2^If1r1c3^If1r1c4^If1r1c5$
f1r2c1^If1r2c2^If1r2c3^If1r2c4^If1r2c5$
f1r3c1^If1r3c2^If1r3c3^If1r3c4^If1r3c5$
f1r4c1^If1r4c2^If1r4c3^If1r4c4^If1r4c5$
f2r1c1^If2r1c2^If2r1c3^If2r1c4^If2r1c5$
f2r2c1^If2r2c2^If2r2c3^If2r2c4^If2r2c5$
f2r3c1^If2r3c2^If2r3c3^If2r3c4^If2r3c5$
f2r4c1^If2r4c2^If2r4c3^If2r4c4^If2r4c5$
f3r1c1^If3r1c2^If3r1c3^If3r1c4^If3r1c5$
f3r2c1^If3r2c2^If3r2c3^If3r2c4^If3r2c5$
f3r3c1^If3r3c2^If3r3c3^If3r3c4^If3r3c5$
f3r4c1^If3r4c2^If3r4c3^If3r4c4^If3r4c5$
$ pr -m -t -i -s f1 f2 f3 | cat -A
f1r1c1^If1r1c2^If1r1c3^If1r1c4^If1r1c5^If2r1c1  f2r1c2  f2r1c3  f2r1c4
f2r1c5^If3r1c1  f3r1c2  f3r1c3  f3r1c4  f3r1c5$
f1r2c1^If1r2c2^If1r2c3^If1r2c4^If1r2c5^If2r2c1  f2r2c2  f2r2c3  f2r2c4
f2r2c5^If3r2c1  f3r2c2  f3r2c3  f3r2c4  f3r2c5$
f1r3c1^If1r3c2^If1r3c3^If1r3c4^If1r3c5^If2r3c1  f2r3c2  f2r3c3  f2r3c4
f2r3c5^If3r3c1  f3r3c2  f3r3c3  f3r3c4  f3r3c5$
f1r4c1^If1r4c2^If1r4c3^If1r4c4^If1r4c5^If2r4c1  f2r4c2  f2r4c3  f2r4c4
f2r4c5^If3r4c1  f3r4c2  f3r4c3  f3r4c4  f3r4c5$

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF+KV784KuGfSFAYARAsJAAJ0TpE3wjvLnlG+iU0QMR9t1B6HJUACeJGk/
6VnBrja+LeI899nuScK0aKs=
=iwol
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]