diff options
Diffstat (limited to 'magic/Magdir/graphviz')
-rw-r--r-- | magic/Magdir/graphviz | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/magic/Magdir/graphviz b/magic/Magdir/graphviz new file mode 100644 index 0000000..b944d46 --- /dev/null +++ b/magic/Magdir/graphviz @@ -0,0 +1,12 @@ + +#------------------------------------------------------------------------------ +# $File: graphviz,v 1.7 2009/09/19 16:28:09 christos Exp $ +# graphviz: file(1) magic for http://www.graphviz.org/ + +# FIXME: These patterns match too generally. For example, the first +# line matches a LaTeX file containing the word "graph" (with a { +# following later) and the second line matches this file. +#0 regex/100 [\r\n\t\ ]*graph[\r\n\t\ ]+.*\\{ graphviz graph text +#!:mime text/vnd.graphviz +#0 regex/100 [\r\n\t\ ]*digraph[\r\n\t\ ]+.*\\{ graphviz digraph text +#!:mime text/vnd.graphviz |