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


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: noloader <at> gmail.com, 45321 <at> debbugs.gnu.org
Subject: bug#45321: file -b reports PHP file as C++ file
Date: Sat, 19 Dec 2020 14:22:05 +0000
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.

cheers,
Pádraig




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

Previous Next


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