bug#9023: pr command does not honor -f or --form-feed option
From:
Jim Meyering
Subject:
bug#9023: pr command does not honor -f or --form-feed option
Date:
Sun, 10 Jul 2011 11:11:44 +0200
Conklin,Paul W. wrote:
> I think that I have found a bug with the pr command
>
> Version Info
> pr 5.97 October 2008 PR(1)
Thank you for the report.
I confirm that GNU pr (even the latest, from coreutils-8.12)
is not compatible with the pr from Solaris 10:
solaris$ seq 9|/usr/bin/pr -t -f -l3|grep -c '^L'
3
solaris$ seq 9|pr -t -f -l3|grep -c '^L'
0
The source of pr is the ugliest and least maintainable (by far) in coreutils,
but we have decent test coverage for it, so we should be able to fix this soon.