a2ps 4.14: $l# gives last line + 1

Leo Lopes <[email protected]> Wed, 26 Oct 2011 13:39:17 -0400
Newsgroups gmane.comp.printing.a2ps.bugs
Message-ID <CAG7XsDq-dgFrNuFeCDuO1Z=SxoKk-rvEzuFdC6cOySiTYPok=g@mail.gmail.com>
Platform:  Ubuntu 10.04.3 LTS vm on VirtualBox on Windows Pro 64 bit.


To reproduce:

a2ps --footer='$l#' -Pdisplay whatever.txt

compare to:

wc whatever.txt

or even just look at the numbers in the file produced by a2ps itself
with --line-numbers (which are correct).

Cheers,
Leo.