texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Texmacs-dev] /etc/magic entry for texmacs


From: Ralf Treinen
Subject: [Texmacs-dev] /etc/magic entry for texmacs
Date: Mon, 30 Sep 2002 20:30:04 +0200
User-agent: Mutt/1.4i

On Sat, Sep 28, 2002 at 05:24:41PM +0200, David Allouche wrote:

> To learn TeXmacs to the file(1) command, just add the following to
> your /etc/magic file.
> 
> # TeXmacs
> 0     string  <TeXmacs|       TeXmacs document text

This yields plenty of false report of texmacs documents (for instance on
html documents, or on gzipped files). It seems that you have to escape the
"<" character:

# TeXmacs
0       string  \<TeXmacs|       TeXmacs document text


-Ralf.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]