/usr/share/gtksourceview-2.0/language-specs/dosbatch.lang is in libgtksourceview2.0-common 2.10.5-0ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 | <?xml version="1.0" encoding="UTF-8"?>
<!--
Author: Paolo Borelli <pborelli@gnome.org>
Copyright (C) 2009 Paolo Borelli
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
-->
<language id="dosbatch" _name="Dos Batch" version="2.0" _section="Scripts">
<metadata>
<property name="globs">*.bat;*.cmd;*.sys</property>
<property name="line-comment-start">rem</property>
</metadata>
<styles>
<style id="comment" _name="Comment" map-to="def:comment"/>
<style id="string" _name="String" map-to="def:string"/>
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
<style id="commands" _name="Command" map-to="def:keyword"/>
</styles>
<default-regex-options case-sensitive="false"/>
<definitions>
<context id="comment" style-ref="comment" end-at-line-end="true" class="comment" class-disabled="no-spell-check">
<start>^\s*(rem\b|:\s*:)</start>
<include>
<context ref="def:in-comment"/>
</include>
</context>
<context id="string" style-ref="string" end-at-line-end="true" class="string" class-disabled="no-spell-check">
<start>"</start>
<end>"</end>
</context>
<context id="keywords" style-ref="keyword">
<keyword>do</keyword>
<keyword>else</keyword>
<keyword>exist</keyword>
<keyword>exit</keyword>
<keyword>for</keyword>
<keyword>goto</keyword>
<keyword>if</keyword>
<keyword>not</keyword>
<keyword>return</keyword>
<keyword>say</keyword>
<keyword>select</keyword>
<keyword>then</keyword>
<keyword>when</keyword>
</context>
<context id="commands" style-ref="keyword">
<keyword>ansi</keyword>
<keyword>append</keyword>
<keyword>assign</keyword>
<keyword>assoc</keyword>
<keyword>attrib</keyword>
<keyword>at</keyword>
<keyword>autofail</keyword>
<keyword>backup</keyword>
<keyword>basedev</keyword>
<keyword>boot</keyword>
<keyword>break</keyword>
<keyword>buffers</keyword>
<keyword>cache</keyword>
<keyword>call</keyword>
<keyword>cacls</keyword>
<keyword>cd</keyword>
<keyword>chcp</keyword>
<keyword>chdir</keyword>
<keyword>chkdsk</keyword>
<keyword>chkntfs</keyword>
<keyword>cls</keyword>
<keyword>cmd</keyword>
<keyword>codepage</keyword>
<keyword>color</keyword>
<keyword>command</keyword>
<keyword>compact</keyword>
<keyword>comp</keyword>
<keyword>convert</keyword>
<keyword>copy</keyword>
<keyword>date</keyword>
<keyword>del</keyword>
<keyword>dir</keyword>
<keyword>diskcomp</keyword>
<keyword>diskcopy</keyword>
<keyword>doskey</keyword>
<keyword>echo</keyword>
<keyword>endlocal</keyword>
<keyword>erase</keyword>
<keyword>fc</keyword>
<keyword>find</keyword>
<keyword>findstr</keyword>
<keyword>format</keyword>
<keyword>ftype</keyword>
<keyword>graftabl</keyword>
<keyword>help</keyword>
<keyword>keyb</keyword>
<keyword>label</keyword>
<keyword>md</keyword>
<keyword>mkdir</keyword>
<keyword>mode</keyword>
<keyword>more</keyword>
<keyword>move</keyword>
<keyword>path</keyword>
<keyword>pause</keyword>
<keyword>popd</keyword>
<keyword>print</keyword>
<keyword>prompt</keyword>
<keyword>pushd</keyword>
<keyword>rd</keyword>
<keyword>recover</keyword>
<keyword>rename</keyword>
<keyword>ren</keyword>
<keyword>replace</keyword>
<keyword>restore</keyword>
<keyword>rmdir</keyword>
<keyword>run</keyword>
<keyword>set</keyword>
<keyword>setboot</keyword>
<keyword>setlocal</keyword>
<keyword>shift</keyword>
<keyword>sort</keyword>
<keyword>start</keyword>
<keyword>subst</keyword>
<keyword>time</keyword>
<keyword>title</keyword>
<keyword>trapdump</keyword>
<keyword>tree</keyword>
<keyword>type</keyword>
<keyword>undelete</keyword>
<keyword>unpack</keyword>
<keyword>use</keyword>
<keyword>verify</keyword>
<keyword>ver</keyword>
<keyword>vol</keyword>
<keyword>xcopy</keyword>
</context>
<context id="dosbatch" class="no-spell-check">
<include>
<context ref="comment"/>
<context ref="string"/>
<context ref="keywords"/>
<context ref="commands"/>
</include>
</context>
</definitions>
</language>
|