UltraEdit23 sh文件 (shell脚本)着色

网上有UltraEdit早期版本的添加方法;

但是这新版本有点不同;

方法如下:

安装后,到AppData\Roaming\IDMComp\UltraEdit\wordfiles 目录下添加UnixShell.uew;

文件内容和网上的一样:

/L20"UNIX Shell Scripts" Line Comment = # Escape Char = \ String Chars = "'` File Extensions = sh ksh csh SH KSH CSH
/Delimiters = ~%^+|\/{}:;"'` ,    .
/Function String = "%[a-zA-Z_]*)"
/Indent Strings = "{" "if" "then" "for" "while" "do" "case" "function"
/Unindent Strings = "}" "else" "fi" "endif" "done" "esac" "exit" "return"
/C1"COMMAND"
alias admin apropos ar as at atq atrm awk
banner basename batch bc bdiff bfs bg break
cal calendar cancel cat cb cc cd cdc cflow chgrp chmod chown
clear cmp col comb comm compress continue cp cpio crontab crypt cscope
csh csplit ctags ctrace cu cut cxref
date dbx dc dd delta deroff df diff diff3 dircmp dirname dis download
dpost du
echo ed edit egrep env ed edpr eval exec exstr exit export
face factor false fg fgrep file find finger fmli fmt fmtmsg fold ftp function
gcore gencat get getopts gettxt gprof grep groups
hash head help hostid hostname
iconv id install ipcrm ipcs ismpx
join jsh jterm jobs jwin
keylogin keylogout kill ksh
layers ld ldd lex line lint ln login logname lorder lp lpq lpr lprm lprof
lpstat lptest ls lsm4
mail mailalias mailx make makekey man mcs mesg mkdir mkmsgs more mv 
nawk newform newgrp news nice nl nm nohup notify nroff
od openwin
pack page passwd paste pcat pg pic pr printenv printf prof prs ps ptx pwd
rcp read readonly red regcmp relogin reset return rksh rlogin rm rmdel rmdir
rsh ruptime rwho
sact sccs sccsdiff sdb sdiff sed select set sh shl shift shutdown size
sleep soelim sort spell split srchtxt strings strip stop stty su sum suspend
tabs tail talk tar tbl tee telnet test time timex touch tput tr trap troff true
truss tset tsort tty type typeset
ulimit umask uname uncompress unget uniq unit unpack unset uptime users uucp
uudecode uuencode uuglist uulog uunmae uupick uustat uuto uux
vacation val vc vedit vi view
w wait wall wc what whatis which who whoami write
xargs
yacc
zcat
/C2"SPECIAL VARIABLES"
CDPATH
DEBUG
DIR DIR_LIST
EDITOR
FILE_NAME FILENAME
HOME
IFS
LANG
MAIL MAILCHECK MAILPATH
OLDPWD
PATH PPID PS1 PS2 PS3
REPLY
SAVE_STS SAVE_LST SHACCT SHELL SOURCE SOURCE_LIST
TERM
/C3"CONTROL COMMANDS"
case
do done
elif else esac endif
fi for
if
in
then
until
while
/C4
! !=
%
& &
((
))
+
-
// /
<=
= =>
[[
]]
^
/C8"I/O REDIRECTION OPERATORS"
> >> >
< << <
|
/C6"SPECIAL PARAMETERS"
$# $- $? $! $* $@ $$
$0 $1 $2 $3 $4 $5 $6 $7 $8 $9
/C7"CONDITIONAL PARAMETER"
-a -o -eq -ne -le -lt -ge -gt -b -c -d -f -g -k -l -p -r -s -S -t -u -w -x -n -z 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

chinabinlang

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值