bug#45321: file -b reports PHP file as C++ file

2020-12-19 Thread Jeffrey Walton
On Sat, Dec 19, 2020 at 9:22 AM Pádraig Brady wrote: > > On 19/12/2020 12:10, Jeffrey Walton wrote: > > On Sat, Dec 19, 2020 at 3:37 AM Jeffrey Walton 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 b

bug#45321: file -b reports PHP file as C++ file

2020-12-19 Thread Pádraig Brady
On 19/12/2020 12:10, Jeffrey Walton wrote: On Sat, Dec 19, 2020 at 3:37 AM Jeffrey Walton 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, A

bug#45321: file -b reports PHP file as C++ file

2020-12-19 Thread Jeffrey Walton
Hi Everyone, 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 I did not see any Gotcha's listed for the file command at https://www.pixelbeat