Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#251407: lynx file extensions



In the last episode (May 28), Hugo Haas said:
> * Clint Adams <clint@xxxxxxx> [2004-05-28 10:20-0400] Apparently some
> > people like to have .htm files.  I wonder if there are
> > .xhtm files.
> 
> I think that the 3-letter extension for them is .xht.
> 
> Actually, one thing which would be cool would be to be able to say: I
> want this argument to be a file which is text/html or
> application/xhtml+xml, and get the list of extensions from the
> mime.types definitions. But this definitely is more complex.

For systems that come with Ian Darwin's and Christos Zoulas's file
command (i.e. Linux and the *BSD's), you can use the -i flag to output
mime-types for files.

-- 
	Dan Nelson
	dnelson@xxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author