GNU bug report logs - #45321
file -b reports PHP file as C++ file

Previous Next

Package: coreutils;

Reported by: noloader <at> gmail.com

Date: Sat, 19 Dec 2020 08:38:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


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

From: Jeffrey Walton <noloader <at> gmail.com>
To: Pádraig Brady <P <at> draigbrady.com>
Cc: 45321 <at> debbugs.gnu.org
Subject: Re: bug#45321: file -b reports PHP file as C++ file
Date: Sat, 19 Dec 2020 12:55:37 -0500
On Sat, Dec 19, 2020 at 9:22 AM Pádraig Brady <P <at> draigbrady.com> wrote:
>
> On 19/12/2020 12:10, Jeffrey Walton wrote:
> > On Sat, Dec 19, 2020 at 3:37 AM Jeffrey Walton <noloader <at> gmail.com> wrote:
> >>
> >> I'm not sure if this is expected. I'm working on CentOS 7, x86_64,
> >> fully patched.
> >>
> >> I expected to see the PHP file below classified as a PHP script, like:
> >>
> >>      # file -b rest.php
> >>      PHP script, ASCII text
>
> file is not one of the GNU coreutils.
> `man file` on my linux system lists a bug tracker for file.

My bad, thanks.

I thought it was part of Fileutils. Fileutils says to report here
(https://www.gnu.org/software/fileutils/).

Jeff




This bug report was last modified 3 years and 86 days ago.

Previous Next


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