From unknown Thu Jun 19 14:05:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15723: A serious bug of nl Resent-From: Mohammad Etemaddar Resent-CC: bug-coreutils@gnu.org Resent-Date: Sat, 26 Oct 2013 19:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15723 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 15723@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.138281438918782 (code B ref -1); Sat, 26 Oct 2013 19:07:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Oct 2013 19:06:29 +0000 Received: from eggs.gnu.org ([208.118.235.92]:53925) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VZzjd-0005Ub-Hz for submit@debbugs.gnu.org; Sat, 26 Oct 2013 05:00:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZzjX-0000PS-1m for submit@debbugs.gnu.org; Sat, 26 Oct 2013 05:00:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZzjW-0000PN-Tk for submit@debbugs.gnu.org; Sat, 26 Oct 2013 05:00:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZzjV-0002qZ-VG for bug-coreutils@gnu.org; Sat, 26 Oct 2013 05:00:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZzjV-0000P8-2n for bug-coreutils@gnu.org; Sat, 26 Oct 2013 05:00:33 -0400 Received: from mail-oa0-x22f.google.com ([2607:f8b0:4003:c02::22f]:38361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZzjU-0000P1-Sb for bug-coreutils@gnu.org; Sat, 26 Oct 2013 05:00:32 -0400 Received: by mail-oa0-f47.google.com with SMTP id i1so1860630oag.6 for ; Sat, 26 Oct 2013 02:00:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=hiEeUtaODdRKdIOpVmSd6UHKlu1ByhEKekVvGrrwB9Y=; b=mE6sVq6GZralb5CghdrNOLgMnmGY0rwm7oB1wGCeoMTQxLvyAp/UF0UudEgbqrdMqd g+UE/umGdOiJ4fp7o7Cs3PEzMsCb3K9HaoAvQ5o/D5yTAckHfpwWdbDvei9wfVR+cF66 k2vx/T115G4leynn9AtDFne7bhDGYOMImJOM0o6ilu9UH+TB5fYgpv0grOv+wQwr7KpJ b0MnMDA3OLSHrIKgczshn1IUVUbu9x3H7R0gtqfpP0UJvVYgIAWY8jdoo5BaAKkX9n3D xPcyQH5BL1Zf9iqqxYf9cmCwjLL/ci5jXr+38YatzQNQWHYmp4qBftdWG4xLoeDKYR5+ Vbhg== MIME-Version: 1.0 X-Received: by 10.60.51.7 with SMTP id g7mr6731919oeo.6.1382778031657; Sat, 26 Oct 2013 02:00:31 -0700 (PDT) Received: by 10.182.119.133 with HTTP; Sat, 26 Oct 2013 02:00:31 -0700 (PDT) Date: Sat, 26 Oct 2013 12:30:31 +0330 Message-ID: From: Mohammad Etemaddar Content-Type: multipart/alternative; boundary=001a11c308e061593404e9a119d0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) --001a11c308e061593404e9a119d0 Content-Type: text/plain; charset=ISO-8859-1 Hi, When I try to open a pdf file by nl, It changes the output characters. Respectfully, Etemaddar --001a11c308e061593404e9a119d0 Content-Type: text/html; charset=ISO-8859-1
Hi,
When I try to open a pdf file by nl, It changes the output characters.

Respectfully,
Etemaddar
--001a11c308e061593404e9a119d0-- From unknown Thu Jun 19 14:05:07 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15723: A serious bug of nl Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Sat, 26 Oct 2013 21:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15723 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Mohammad Etemaddar Cc: 15723@debbugs.gnu.org Received: via spool by 15723-submit@debbugs.gnu.org id=B15723.13828240672062 (code B ref 15723); Sat, 26 Oct 2013 21:48:02 +0000 Received: (at 15723) by debbugs.gnu.org; 26 Oct 2013 21:47:47 +0000 Received: from localhost ([127.0.0.1]:46219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VaBhy-0000X9-HS for submit@debbugs.gnu.org; Sat, 26 Oct 2013 17:47:46 -0400 Received: from mail6.vodafone.ie ([213.233.128.184]:47334) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VaBhw-0000Wn-0R; Sat, 26 Oct 2013 17:47:44 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBADQ3bFJda8ZA/2dsb2JhbAANTL9ognqBNoMZAQEBBDIBRhALDQsJFg8JAwIBAgFFBg0BBwEBiAikH5MQj1UHhCwDnmyOTA Received: from unknown (HELO [192.168.1.79]) ([93.107.198.64]) by mail3.vodafone.ie with ESMTP; 26 Oct 2013 22:47:37 +0100 Message-ID: <526C3878.3080000@draigBrady.com> Date: Sat, 26 Oct 2013 22:47:36 +0100 From: =?UTF-8?Q?P=C3=A1draig?= Brady User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 References: In-Reply-To: X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) 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.