Subject: Re: bug#15723: A serious bug of nl

From: Pádraig Brady <[email-masked]>
Date: Sat, 26 Oct 2013 22:47:36 +0100

tag 15723 notabug
close 15723
stop

On 10/26/2013 10:00 AM, Mohammad Etemaddar wrote:
> Hi,
> When I try to open a pdf file by nl, It changes the output characters.

I think what's happening here is that nl is just outputting the
_binary_ pdf file to the terminal. You would first need to convert
the pdf file to actual text before processing with nl.
Something like:

pdftotext file.pdf - | nl

thanks,
Pádraig.