Public bug reported: `man xgd-mime` says:
> query filetype FILE: Returns the file type of FILE in the form of a MIME type. However, it actually returns MIME type with MIME encoding: $ xdg-mime query filetype <filename> > text/x-python; charset=utf-8 After the man page, it should return something like `file --mime-type`: $ file -b --mime-type <filename> > text/x-python But instead, it returns something like `file --mime`: $ file -b --mime <filename> > text/x-python; charset=utf-8 Either the man page is wrong or `wdg-mime` is wrong. ** Affects: xdg-utils (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xdg-utils in Ubuntu. https://bugs.launchpad.net/bugs/1718096 Title: Wrong result from xdg-mime query filetype Status in xdg-utils package in Ubuntu: New Bug description: `man xgd-mime` says: > query filetype FILE: Returns the file type of FILE in the form of a MIME type. However, it actually returns MIME type with MIME encoding: $ xdg-mime query filetype <filename> > text/x-python; charset=utf-8 After the man page, it should return something like `file --mime- type`: $ file -b --mime-type <filename> > text/x-python But instead, it returns something like `file --mime`: $ file -b --mime <filename> > text/x-python; charset=utf-8 Either the man page is wrong or `wdg-mime` is wrong. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xdg-utils/+bug/1718096/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp