Public bug reported:

1. Bug is on Ubuntu 14.04.5 LTS and Ubuntu 16.04.5 LTS

2.
file:
  Installiert:           1:5.25-2ubuntu1.1

file:
  Installiert:           1:5.14-2ubuntu3.4

3.
command: "file -i test_mime.srt"

Actual result: "text/x-c"

Expected result: "text/plain" or "application/x-subrip"

In line 8 of the attached file is the word "extern". 
therefore, the file is incorrectly identified as c code

** Affects: file (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: hhvm (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "test_mime.srt.zip"
   
https://bugs.launchpad.net/bugs/1790806/+attachment/5184798/+files/test_mime.srt.zip

** Also affects: hhvm (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790806

Title:
  file -i command reports "text/x-c"  mime type for .srt file (Subtitle
  / Plain Text file)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/file/+bug/1790806/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to