From: markus schnalke Date: Tue, 4 Dec 2012 22:04:08 +0000 (+0100) Subject: Updated man page mh-profile(5): file(1) is not from GNU. X-Git-Tag: mmh-0.1~13 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=08143f93922ca7b651f5c01bcd0917144ed770e9;p=mmh Updated man page mh-profile(5): file(1) is not from GNU. btw: Thanks to Dennis Herrmann (dhn) for pointing me to the whole issue. --- diff --git a/man/mh-profile.man5 b/man/mh-profile.man5 index 1499c06..109d3c4 100644 --- a/man/mh-profile.man5 +++ b/man/mh-profile.man5 @@ -209,12 +209,12 @@ If you like to type a lot, name it `X-MH-Encrypt-This-Message'. .BR Mime-Type-Query : file \-b \-\-mime .RS 5 -A command that prints the MIME type of a file. -The file name gets appended to the command line. -Note: Older GNU versions of file(1) won't generate the desired -output. GNU file-4.26, for instance, omits a required semicolon. -GNU file-5.04 is known to work. Non-GNU version likely need different -options or don't provide this function at all. Alternatively, you can use +A command that prints the MIME type of a given file. +The file name is appended to the command line. +Note: Older versions of file(1) won't generate the desired output. +file-4.26, for instance, omits a required semicolon. +file-5.04 is known to work. +Alternatively, you can use .BR print\-mimetype , which is part of mmh, but guesses MIME types by file name extensions only. .RE