The attached patch: - defines that scripts are sub-class-of application/x-executable, so that it becomes easy to check if something is executable (all it needs is to inherit x-executable and have +x permissions) - merges text/x-ksh into application/x-shellscript (does anyone really need a separate mimetype for this? If so, then it should be defined as application/x-* for consistency and it should be a subclass of application/x-shellscript) - moves the magic for csh scripts to the existing application/x-csh mimetype, and defines that it's a subtype of application/x-shellscript - defines that the script types are also text/plain. Many more types in the database are subclasses of text/plain, I'll file another report for that.
Created attachment 285 [details] [review] cleanup for scripts types
I applied your patch except for the change for application/x-javascript. Are there widely used command line interpreters for javascript scripts ?
Created attachment 1509 [details] [review] patch I applied to HEAD.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.