GNU bug report logs - #15723
A serious bug of nl

Previous Next

Package: coreutils;

Reported by: Mohammad Etemaddar <mohammad.etemaddar <at> gmail.com>

Date: Sat, 26 Oct 2013 19:07:02 UTC

Severity: normal

Tags: notabug

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at control <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Mohammad Etemaddar <mohammad.etemaddar <at> gmail.com>
Cc: 15723 <at> debbugs.gnu.org
Subject: Re: bug#15723: A serious bug of nl
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.





This bug report was last modified 11 years and 210 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.