From unknown Mon Jun 16 23:41:05 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#7965 <7965@debbugs.gnu.org> To: bug#7965 <7965@debbugs.gnu.org> Subject: Status: file util doesn't note CRLF in troff input Reply-To: bug#7965 <7965@debbugs.gnu.org> Date: Tue, 17 Jun 2025 06:41:05 +0000 retitle 7965 file util doesn't note CRLF in troff input reassign 7965 coreutils submitter 7965 Doug McIlroy severity 7965 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 02 12:33:44 2011 Received: (at submit) by debbugs.gnu.org; 2 Feb 2011 17:33:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkgaO-0002U8-81 for submit@debbugs.gnu.org; Wed, 02 Feb 2011 12:33:44 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkfLv-0000jh-NL for submit@debbugs.gnu.org; Wed, 02 Feb 2011 11:14:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PkfTv-0005wN-2A for submit@debbugs.gnu.org; Wed, 02 Feb 2011 11:23:09 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:55277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PkfTv-0005wI-08 for submit@debbugs.gnu.org; Wed, 02 Feb 2011 11:22:59 -0500 Received: from [140.186.70.92] (port=49038 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkfTj-0000Cu-No for bug-coreutils@gnu.org; Wed, 02 Feb 2011 11:22:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PkfTY-0005h6-Vy for bug-coreutils@gnu.org; Wed, 02 Feb 2011 11:22:47 -0500 Received: from mail.cs.dartmouth.edu ([129.170.212.100]:55843) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PkfTY-0005gF-Kv for bug-coreutils@gnu.org; Wed, 02 Feb 2011 11:22:36 -0500 Received: from tecumseh.cs.dartmouth.edu (tecumseh.cs.dartmouth.edu [129.170.214.75]) by mail.cs.dartmouth.edu (8.14.4/8.14.4) with ESMTP id p12GMUhB001907 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 2 Feb 2011 11:22:30 -0500 X-DomainKeys: Sendmail DomainKeys Filter v1.0.2 mail.cs.dartmouth.edu p12GMUhB001907 DomainKey-Signature: a=rsa-sha1; s=mail; d=tecumseh.cs.dartmouth.edu; c=simple; q=dns; h=from:message-id:date:to:subject:user-agent:mime-version: content-type:content-transfer-encoding; b=hDz3WaYLAzhwyFp2/vkL922+S4BVzHW593gFnVWidLH/iLGloK6aiYXKBE3ynCrEz TYE516jIi9moRLE0J+rIg== Received: from tecumseh.cs.dartmouth.edu (localhost.localdomain [127.0.0.1]) by tecumseh.cs.dartmouth.edu (8.14.4/8.13.8) with ESMTP id p12GMUPh029057 for ; Wed, 2 Feb 2011 11:22:30 -0500 Received: (from doug@localhost) by tecumseh.cs.dartmouth.edu (8.14.4/8.14.3/Submit) id p12GMUW8029056 for bug-coreutils@gnu.org; Wed, 2 Feb 2011 11:22:30 -0500 From: Doug McIlroy Message-Id: <201102021622.p12GMUW8029056@tecumseh.cs.dartmouth.edu> Date: Wed, 02 Feb 2011 11:22:30 -0500 To: bug-coreutils@gnu.org Subject: file util doesn't note CRLF in troff input User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 129.170.212.100 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 02 Feb 2011 12:33:43 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) When file-5.03 and file-5.04 identify "troff or preprocessor input" that contains CRLF line terminators, they fail to report the CRLF property. While the distinction doesn't matter to the groff suite, it does to other utilities. It is wrong to hide it. Doug McIlroy From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 02 13:51:59 2011 Received: (at 7965) by debbugs.gnu.org; 2 Feb 2011 18:51:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pkho7-0004yj-Fr for submit@debbugs.gnu.org; Wed, 02 Feb 2011 13:51:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pkho4-0004yW-9x for 7965@debbugs.gnu.org; Wed, 02 Feb 2011 13:51:58 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p12J0HmW005886 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 2 Feb 2011 14:00:18 -0500 Received: from [10.3.113.9] ([10.3.113.9]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p12J0Gcm027166; Wed, 2 Feb 2011 14:00:17 -0500 Message-ID: <4D49A9C0.9070909@redhat.com> Date: Wed, 02 Feb 2011 12:00:16 -0700 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 MIME-Version: 1.0 To: Doug McIlroy Subject: Re: bug#7965: file util doesn't note CRLF in troff input References: <201102021622.p12GMUW8029056@tecumseh.cs.dartmouth.edu> In-Reply-To: <201102021622.p12GMUW8029056@tecumseh.cs.dartmouth.edu> X-Enigmail-Version: 1.1.2 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig75F49ED6BAA25B975B641963" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Spam-Score: -10.2 (----------) X-Debbugs-Envelope-To: 7965 Cc: 7965@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.2 (----------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig75F49ED6BAA25B975B641963 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/02/2011 09:22 AM, Doug McIlroy wrote: > When file-5.03 and file-5.04 identify "troff or preprocessor > input" that contains CRLF line terminators, they fail to report=20 > the CRLF property. While the distinction doesn't matter > to the groff suite, it does to other utilities. It is wrong > to hide it. Thanks for the report. However, you reached the wrong list. Coreutils does not maintain file. And it's a shame that 'file --help' doesn't list a correct bug-reporting address, either - you now have two bugs to report once you figure out the correct reporting address (and unfortunately, it's hard to google for a correct address for 'filing file bug reports', so I don't have a quick answer for where to redirect this report). --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig75F49ED6BAA25B975B641963 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJNSanAAAoJEKeha0olJ0Nq3VgH/RzziKUINe4DLLS2BVj6Gsou CX8/3tJGJSInQAbLPENk7JwN/Gw24IpiJ1dFIJ7OyKtlA5a/4ZcOpVzPcYPoqFao HtH1lgFpn7B1bFu/Bd8He1KLf9xzMlkAPGLI13IL3SgieDpT56TQ/06xZPnoDF0D QGjw8tpYRwJ5HXiZd9zowF8GKgc8M33DxZJlpwvs83hV8R9b7ynkxbLAD0YGUm2w qfTI7CjqAQI0JtfZXVxa3KoxZPrbK+eiP8FVJ4TEfZTTG5k6deIDP6uulFtspi/h rQ17xB8xRiFs9xHH26y5whse7bfQydttXPmRGoEYiYCxTYYs1HZXD1hH6DITZUA= =AdVg -----END PGP SIGNATURE----- --------------enig75F49ED6BAA25B975B641963-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 02 15:29:54 2011 Received: (at 7965) by debbugs.gnu.org; 2 Feb 2011 20:29:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkjKs-0000Jh-2i for submit@debbugs.gnu.org; Wed, 02 Feb 2011 15:29:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkjKp-0000JR-TX for 7965@debbugs.gnu.org; Wed, 02 Feb 2011 15:29:53 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p12Kc1ds006839 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 2 Feb 2011 15:38:01 -0500 Received: from [10.3.113.9] ([10.3.113.9]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p12KbxA9028896; Wed, 2 Feb 2011 15:38:00 -0500 Message-ID: <4D49C0A7.5050106@redhat.com> Date: Wed, 02 Feb 2011 13:37:59 -0700 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 MIME-Version: 1.0 To: christos@astron.com Subject: Re: bug#7965: file util doesn't note CRLF in troff input References: <201102021622.p12GMUW8029056@tecumseh.cs.dartmouth.edu> <4D49A9C0.9070909@redhat.com> In-Reply-To: <4D49A9C0.9070909@redhat.com> X-Enigmail-Version: 1.1.2 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig14362984AA182271FE26EBFD" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Spam-Score: -10.2 (----------) X-Debbugs-Envelope-To: 7965 Cc: 7965@debbugs.gnu.org, Doug McIlroy X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.2 (----------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig14362984AA182271FE26EBFD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/02/2011 12:00 PM, Eric Blake wrote: > On 02/02/2011 09:22 AM, Doug McIlroy wrote: >> When file-5.03 and file-5.04 identify "troff or preprocessor >> input" that contains CRLF line terminators, they fail to report=20 >> the CRLF property. While the distinction doesn't matter >> to the groff suite, it does to other utilities. It is wrong >> to hide it. >=20 > Thanks for the report. However, you reached the wrong list. Coreutils= > does not maintain file. And it's a shame that 'file --help' doesn't > list a correct bug-reporting address, either - you now have two bugs to= > report once you figure out the correct reporting address (and > unfortunately, it's hard to google for a correct address for 'filing > file bug reports', so I don't have a quick answer for where to redirect= > this report). Follow-up - I found a bug reporting address on http://directory.fsf.org/project/file/, so I'm adding that in cc. Christos, even though it appears that file is not a GNU project and is therefore not bound by the GNU Coding Standards, you are doing your users a disservice by having 'file --help' output to stderr and lacking any bug reporting information, particularly since it is rather difficult to google for file's bug reporting address. Would you mind making the next version of file conform a bit more to those particular points of the GNU Coding Standards, by sending --help (and --version) to stdout, and by adding a blurb about a bug reporting address in --help? --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig14362984AA182271FE26EBFD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJNScCnAAoJEKeha0olJ0NqMYcH/0465XZcrJ6DIhV5/86bY0NE ZC9essNiKPGj+hgR05zArh2XCKV3O1P6xUhQdXqHlTvcG9aUlPL6IO9c3EuaxSc7 Knl5DGitq1AE+FBA2KEQ9Uo/MRR6J99uGUk/V0aGYfHaEk5CJ1S6r07ZBNq4Hkbr gy6QamCepLOXAXGTlNiwcuDWAG132MTe9GxUnKCOhG9PkzARoxb4uJlz1M3+nWzi TVerGIjeRlBXWYRoVyILU4lIqId6z7rLk5WZeaD+jVDhM7m1njrVMZtlK2aOvj5v 5642kdhUQzsdMXRjYWeBjqLDun5gxZYwTHqakJGQ0LX7ViDJShjHGxhGqsQzb5o= =ZOA7 -----END PGP SIGNATURE----- --------------enig14362984AA182271FE26EBFD-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 02 20:50:54 2011 Received: (at 7965) by debbugs.gnu.org; 3 Feb 2011 01:50:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkoLW-0007Nm-Dq for submit@debbugs.gnu.org; Wed, 02 Feb 2011 20:50:54 -0500 Received: from rebar.astron.com ([38.117.134.202]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkoIF-0007J5-Cf for 7965@debbugs.gnu.org; Wed, 02 Feb 2011 20:47:32 -0500 Received: by rebar.astron.com (Postfix, from userid 10080) id 0989A56427; Thu, 3 Feb 2011 01:55:57 +0000 (UTC) From: christos@zoulas.com (Christos Zoulas) Date: Wed, 2 Feb 2011 20:55:57 -0500 In-Reply-To: <4D49C0A7.5050106@redhat.com> from Eric Blake (Feb 2, 1:37pm) Organization: Astron Software X-Mailer: Mail User's Shell (7.2.6 beta(4.pl1)+dynamic 20000103) To: Eric Blake Subject: Re: bug#7965: file util doesn't note CRLF in troff input Message-Id: <20110203015558.0989A56427@rebar.astron.com> X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7965 X-Mailman-Approved-At: Wed, 02 Feb 2011 20:50:54 -0500 Cc: 7965@debbugs.gnu.org, Doug McIlroy X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Feb 2, 1:37pm, eblake@redhat.com (Eric Blake) wrote: -- Subject: Re: bug#7965: file util doesn't note CRLF in troff input | Follow-up - I found a bug reporting address on | http://directory.fsf.org/project/file/, so I'm adding that in cc. | | Christos, even though it appears that file is not a GNU project and is | therefore not bound by the GNU Coding Standards, you are doing your | users a disservice by having 'file --help' output to stderr and lacking | any bug reporting information, particularly since it is rather difficult | to google for file's bug reporting address. Would you mind making the | next version of file conform a bit more to those particular points of | the GNU Coding Standards, by sending --help (and --version) to stdout, | and by adding a blurb about a bug reporting address in --help? Sure, will do. christos From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 22 18:09:22 2011 Received: (at 7965-done) by debbugs.gnu.org; 22 Jul 2011 22:09:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QkNuM-00072z-1d for submit@debbugs.gnu.org; Fri, 22 Jul 2011 18:09:22 -0400 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QkNuJ-00072k-Tu for 7965-done@debbugs.gnu.org; Fri, 22 Jul 2011 18:09:20 -0400 Received: from rho.meyering.net (localhost.localdomain [127.0.0.1]) by rho.meyering.net (Acme Bit-Twister) with ESMTP id 62C016006C for <7965-done@debbugs.gnu.org>; Sat, 23 Jul 2011 00:09:14 +0200 (CEST) From: Jim Meyering To: 7965-done@debbugs.gnu.org Subject: Re: bug#7965: file util doesn't note CRLF in troff input In-Reply-To: <201102021622.p12GMUW8029056@tecumseh.cs.dartmouth.edu> (Doug McIlroy's message of "Wed, 02 Feb 2011 11:22:30 -0500") References: <201102021622.p12GMUW8029056@tecumseh.cs.dartmouth.edu> Date: Sat, 23 Jul 2011 00:09:14 +0200 Message-ID: <87k4ba55o5.fsf@rho.meyering.net> Lines: 12 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: 7965-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) tags 7965 + notabug close 7965 thanks Doug McIlroy wrote: > When file-5.03 and file-5.04 identify "troff or preprocessor > input" that contains CRLF line terminators, they fail to report > the CRLF property. While the distinction doesn't matter > to the groff suite, it does to other utilities. It is wrong > to hide it. This is not a coreutils bug. From unknown Mon Jun 16 23:41:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 20 Aug 2011 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator