summaryrefslogtreecommitdiff
path: root/highlighting/bourne-hl.xml
diff options
context:
space:
mode:
Diffstat (limited to 'highlighting/bourne-hl.xml')
-rw-r--r--highlighting/bourne-hl.xml95
1 files changed, 95 insertions, 0 deletions
diff --git a/highlighting/bourne-hl.xml b/highlighting/bourne-hl.xml
new file mode 100644
index 0000000..e2cd98d
--- /dev/null
+++ b/highlighting/bourne-hl.xml
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Syntax highlighting definition for SH
+
+xslthl - XSLT Syntax Highlighting
+http://sourceforge.net/projects/xslthl/
+Copyright (C) 2010 Mathieu Malaterre
+
+This software is provided 'as-is', without any express or implied
+warranty. In no event will the authors be held liable for any damages
+arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+
+1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+3. This notice may not be removed or altered from any source distribution.
+
+-->
+<highlighters>
+ <highlighter type="oneline-comment">#</highlighter>
+ <highlighter type="heredoc">
+ <start>&lt;&lt;</start>
+ <quote>'</quote>
+ <quote>"</quote>
+ <flag>-</flag>
+ <noWhiteSpace />
+ <looseTerminator />
+ </highlighter>
+ <highlighter type="string">
+ <string>"</string>
+ <escape>\</escape>
+ </highlighter>
+ <highlighter type="string">
+ <string>'</string>
+ <escape>\</escape>
+ <spanNewLines />
+ </highlighter>
+ <highlighter type="hexnumber">
+ <prefix>0x</prefix>
+ <ignoreCase />
+ </highlighter>
+ <highlighter type="number">
+ <point>.</point>
+ <pointStarts />
+ <ignoreCase />
+ </highlighter>
+ <highlighter type="keywords">
+ <!-- reserved words -->
+ <keyword>if</keyword>
+ <keyword>then</keyword>
+ <keyword>else</keyword>
+ <keyword>elif</keyword>
+ <keyword>fi</keyword>
+ <keyword>case</keyword>
+ <keyword>esac</keyword>
+ <keyword>for</keyword>
+ <keyword>while</keyword>
+ <keyword>until</keyword>
+ <keyword>do</keyword>
+ <keyword>done</keyword>
+ <!-- built-ins -->
+ <keyword>exec</keyword>
+ <keyword>shift</keyword>
+ <keyword>exit</keyword>
+ <keyword>times</keyword>
+ <keyword>break</keyword>
+ <keyword>export</keyword>
+ <keyword>trap</keyword>
+ <keyword>continue</keyword>
+ <keyword>readonly</keyword>
+ <keyword>wait</keyword>
+ <keyword>eval</keyword>
+ <keyword>return</keyword>
+ <!-- other commands -->
+ <keyword>cd</keyword>
+ <keyword>echo</keyword>
+ <keyword>hash</keyword>
+ <keyword>pwd</keyword>
+ <keyword>read</keyword>
+ <keyword>set</keyword>
+ <keyword>test</keyword>
+ <keyword>type</keyword>
+ <keyword>ulimit</keyword>
+ <keyword>umask</keyword>
+ <keyword>unset</keyword>
+ </highlighter>
+</highlighters>