Tweet

Replying to @utopiah

Assuming the OS doesn’t have such a mechanism (anybody?) then a maintained list of :

might suffice. Input and output could also be patterns, as MIME types do. They don’t have to be 1-to-1.

(original)