* lynx file extensions
@ 2004-05-28 14:20 Clint Adams
2004-05-28 15:06 ` Bug#251407: " Hugo Haas
0 siblings, 1 reply; 3+ messages in thread
From: Clint Adams @ 2004-05-28 14:20 UTC (permalink / raw)
To: zsh-workers; +Cc: 251407-submitter
Apparently some people like to have .htm files. I wonder if there are
.xhtm files.
Index: Completion/Unix/Command/_lynx
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_lynx,v
retrieving revision 1.10
diff -u -r1.10 _lynx
--- Completion/Unix/Command/_lynx 28 Feb 2004 12:20:06 -0000 1.10
+++ Completion/Unix/Command/_lynx 28 May 2004 14:17:40 -0000
@@ -140,7 +140,7 @@
outside_telnet print shell suspend telnet_port useragent && return
;;
html)
- _alternative 'files:file:_files -g "*.x#html(-.)"' 'urls:URL:_urls' && return
+ _alternative 'files:file:_files -g "*.x#html#(-.)"' 'urls:URL:_urls' && return
;;
esac
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug#251407: lynx file extensions
2004-05-28 14:20 lynx file extensions Clint Adams
@ 2004-05-28 15:06 ` Hugo Haas
2004-05-28 18:56 ` Dan Nelson
0 siblings, 1 reply; 3+ messages in thread
From: Hugo Haas @ 2004-05-28 15:06 UTC (permalink / raw)
To: Clint Adams, 251407-quiet; +Cc: zsh-workers
[-- Attachment #1: Type: text/plain, Size: 526 bytes --]
* Clint Adams <clint@zsh.org> [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.
Regards,
Hugo
--
Hugo Haas - http://larve.net/people/hugo/
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 307 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug#251407: lynx file extensions
2004-05-28 15:06 ` Bug#251407: " Hugo Haas
@ 2004-05-28 18:56 ` Dan Nelson
0 siblings, 0 replies; 3+ messages in thread
From: Dan Nelson @ 2004-05-28 18:56 UTC (permalink / raw)
To: Hugo Haas; +Cc: Clint Adams, 251407-quiet, zsh-workers
In the last episode (May 28), Hugo Haas said:
> * Clint Adams <clint@zsh.org> [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@allantgroup.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-05-28 18:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-28 14:20 lynx file extensions Clint Adams
2004-05-28 15:06 ` Bug#251407: " Hugo Haas
2004-05-28 18:56 ` Dan Nelson
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).