bash.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <?xml version="1.0"?>
  2. <Language name="Bash shell" ext="*.sh" CaseSensitive="true" ColorBlock="Block">
  3. <Completion>
  4. alias ar asa awk
  5. "awk '{}'"
  6. "awk -F. '{print $1}'"
  7. banner basename bash bc bdiff break bunzip2 bzip2
  8. "case"
  9. "case $x in&#xD;
  10. 1)&#xD; echo ""uno"" &#xD;
  11. ;;&#xD;
  12. 2)&#xD; echo ""dos"" &#xD;
  13. ;;&#xD;
  14. *)&#xD; echo ""otro"" &#xD;
  15. ;;&#xD;
  16. esac"
  17. "cat " "cd " "cd .." "chgrp "
  18. "chmod " "chmod 755" "chmod 777"
  19. "chown"
  20. "chown usuario directorio/archivo"
  21. "continue"
  22. "cp "
  23. "cp origen destino"
  24. "crontab "
  25. "crontab -l"
  26. "crontab -l | grep "
  27. "date"
  28. "date +%Y%m%d %H%M%S"
  29. "df"
  30. "df -k"
  31. "df -k | grep "
  32. "do"
  33. "done"
  34. "du"
  35. "du -k"
  36. "echo"
  37. "echo """""
  38. "elif "
  39. "else"
  40. "esac"
  41. "exit"
  42. "expr"
  43. "fcopy"
  44. "fi"
  45. "for "
  46. "for variable in $lista&#xD;do&#xD;done"
  47. "format"
  48. "ftp "
  49. "grep "
  50. "head "
  51. "id "
  52. "if "
  53. "if [ expresíon ]; then&#xD;fi"
  54. "if [ expresíon ]; then&#xD;else&#xD;fi"
  55. "in"
  56. "join "
  57. "kill"
  58. "kill -9 "
  59. "ln"
  60. "ls"
  61. "ls -l"
  62. "mail"
  63. "man"
  64. "mkdir"
  65. "mv "
  66. "mv origen destino"
  67. "nawk "
  68. "nawk -F. ""{print $1}"""
  69. "ping"
  70. "passwd"
  71. "passwd usuario"
  72. "pwd"
  73. "ps "
  74. "ps -fu"
  75. "rm "
  76. "rmdir "
  77. "sleep "
  78. "sort"
  79. "tail "
  80. "tar"
  81. "telnet"
  82. "then"
  83. "top "
  84. "tty "
  85. "uname"
  86. "uniq"
  87. "until"
  88. "useradd"
  89. "useradd usuario"
  90. "vi "
  91. "vmstat "
  92. "wc "
  93. "wc -l "
  94. "while "
  95. "while [ exprsion ]; do &#xD;done"
  96. "who "
  97. "write "
  98. </Completion>
  99. <Attribute name="Keyword" ForeCol="#00A000" Bold="true"></Attribute>
  100. <Attribute name="Langs" ForeCol="#FF00FF"></Attribute>
  101. <Attribute name="Awk" BackCol="#C8F7F7"></Attribute>
  102. <Identifiers CharsStart= "A..Za..z_$" Content = "A..Za..z0..9_">
  103. <Keyword>
  104. alias ar asa
  105. banner basename bash bc bdiff break bunzip2 bzip2
  106. cal calendar caller case cat cc cd chmod cksum clear cmp col comm command compress continue cp cpio crontab crypt csplit ctags cut
  107. date dc dd declare deroff dev df diff diff3 dircmp dirname do done du
  108. echo ed egrep elif else env esac eval ex exec exit expand export expr
  109. false fc fgrep fi file find fmt fold for function functions
  110. getconf getopt getopts grep gres
  111. halt hash head help history hostname
  112. iconv id if in integer
  113. jobs join kill local logout
  114. lc let line ln logname look ls
  115. m4 mail mailx make man mkdir more mt mv
  116. newgrp nl nm nohup ntps od
  117. pack paste patch pathchk pax pcat perl pg pr print printf ps pwd
  118. read readonly reboot red return rev rm rmdir
  119. sed select seq set sh shift size sleep sort spell split start strings strip stty sum suspend sync
  120. tail tar tee test then time times touch tr trap true tsort tty type typeset
  121. ulimit umask unalias uname uncompress unexpand uniq unpack unset until uudecode uuencode
  122. vdir vi vim
  123. wait wc whatis whence whereis which while who whoami
  124. xargs zcat
  125. </Keyword>
  126. <Langs>
  127. awk nawk
  128. </Langs>
  129. </Identifiers>
  130. <Token CharsStart="0..9" Content = '0..9' Attribute="NUMBER"> </Token>
  131. <String Start='"' End='"'></String>
  132. <Token Start="'" End="'" Multiline = "true" Folding="true" Attribute="Awk"></Token>
  133. <Comment Start="#" ></Comment>
  134. <Block Start="{" End="}" Name="blk_llaves" BackCol="#F7F7C8" Parent="Main"></Block>
  135. <Block Start="if" End="fi" Name="blk_if" BackCol="transparent"></Block>
  136. <Block Start="do" End="done" Name="blk_do" BackCol="transparent"></Block>
  137. <Block Start="case" End="esac" Name="blk_ca" BackCol="transparent"></Block>
  138. </Language>