Media type for output of POSIX "diff" utility

Bjoern Hoehrmann derhoermi at gmx.net
Thu May 31 17:15:16 CEST 2007


* Julian Reschke wrote:
>- Would the specification at 
><http://www.opengroup.org/onlinepubs/000095399/utilities/diff.html> be 
>sufficient as specification of the contents of the file?

That depends on what kind of type you have in mind. I do not think it
would be sufficient for a standards tree text/* type (for reasons of
internationalization, for example), but for an application/vnd* type
it might suffice.

>- Would it make sense to define individual types for the different diff 
>output formats (simple, context, ...), or would that be something for a 
>type parameter?

I don't think it's reasonable to expect people would mark the type
in MIME or HTTP headers; indeed, it might be more valuable to have
a diff or patch file type that's used for all the different formats.
Personally I try to avoid using poor diff formats such as this one,
and would use, say, unified diffs instead.
-- 
Björn Höhrmann · mailto:bjoern at hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 


More information about the Ietf-types mailing list