UnixShell.xml 2.8 KB

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