Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#251407: lynx file extensions
- X-seq: zsh-workers 19993
- From: Dan Nelson <dnelson@xxxxxxxxxxxxxxx>
- To: Hugo Haas <hugo@xxxxxxxxx>
- Subject: Re: Bug#251407: lynx file extensions
- Date: Fri, 28 May 2004 13:56:32 -0500
- Cc: Clint Adams <clint@xxxxxxx>, 251407-quiet@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxx
- In-reply-to: <20040528150605.GI3074@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20040528142011.GA30106@xxxxxxxxxxx> <20040528150605.GI3074@xxxxxxxxxxxxxx>
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