bourne-hl.xml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Syntax highlighting definition for SH
  4. xslthl - XSLT Syntax Highlighting
  5. http://sourceforge.net/projects/xslthl/
  6. Copyright (C) 2010 Mathieu Malaterre
  7. This software is provided 'as-is', without any express or implied
  8. warranty. In no event will the authors be held liable for any damages
  9. arising from the use of this software.
  10. Permission is granted to anyone to use this software for any purpose,
  11. including commercial applications, and to alter it and redistribute it
  12. freely, subject to the following restrictions:
  13. 1. The origin of this software must not be misrepresented; you must not
  14. claim that you wrote the original software. If you use this software
  15. in a product, an acknowledgment in the product documentation would be
  16. appreciated but is not required.
  17. 2. Altered source versions must be plainly marked as such, and must not be
  18. misrepresented as being the original software.
  19. 3. This notice may not be removed or altered from any source distribution.
  20. -->
  21. <highlighters>
  22. <highlighter type="oneline-comment">#</highlighter>
  23. <highlighter type="heredoc">
  24. <start>&lt;&lt;</start>
  25. <quote>'</quote>
  26. <quote>"</quote>
  27. <flag>-</flag>
  28. <noWhiteSpace />
  29. <looseTerminator />
  30. </highlighter>
  31. <highlighter type="string">
  32. <string>"</string>
  33. <escape>\</escape>
  34. </highlighter>
  35. <highlighter type="string">
  36. <string>'</string>
  37. <escape>\</escape>
  38. <spanNewLines />
  39. </highlighter>
  40. <highlighter type="hexnumber">
  41. <prefix>0x</prefix>
  42. <ignoreCase />
  43. </highlighter>
  44. <highlighter type="number">
  45. <point>.</point>
  46. <pointStarts />
  47. <ignoreCase />
  48. </highlighter>
  49. <highlighter type="keywords">
  50. <!-- reserved words -->
  51. <keyword>if</keyword>
  52. <keyword>then</keyword>
  53. <keyword>else</keyword>
  54. <keyword>elif</keyword>
  55. <keyword>fi</keyword>
  56. <keyword>case</keyword>
  57. <keyword>esac</keyword>
  58. <keyword>for</keyword>
  59. <keyword>while</keyword>
  60. <keyword>until</keyword>
  61. <keyword>do</keyword>
  62. <keyword>done</keyword>
  63. <!-- built-ins -->
  64. <keyword>exec</keyword>
  65. <keyword>shift</keyword>
  66. <keyword>exit</keyword>
  67. <keyword>times</keyword>
  68. <keyword>break</keyword>
  69. <keyword>export</keyword>
  70. <keyword>trap</keyword>
  71. <keyword>continue</keyword>
  72. <keyword>readonly</keyword>
  73. <keyword>wait</keyword>
  74. <keyword>eval</keyword>
  75. <keyword>return</keyword>
  76. <!-- other commands -->
  77. <keyword>cd</keyword>
  78. <keyword>echo</keyword>
  79. <keyword>hash</keyword>
  80. <keyword>pwd</keyword>
  81. <keyword>read</keyword>
  82. <keyword>set</keyword>
  83. <keyword>test</keyword>
  84. <keyword>type</keyword>
  85. <keyword>ulimit</keyword>
  86. <keyword>umask</keyword>
  87. <keyword>unset</keyword>
  88. </highlighter>
  89. </highlighters>