📄 mkfmt
字号:
#!/bin/kshfor i in [IO]*.fmtdowhile read -r f1 f2 restdo if [[ `expr "$f1" : '\(.\).*$'` = "#" ]] then continue fi if [[ ${#f1} = 0 ]] then continue fi# if [[ `expr "$f1" : '[[:alnum:]_].*$'` = ${#f1} ]] then if [[ `expr "$f1" : '[a-zA-Z0-9_.]*'` = ${#f1} ]] then if [[ $f1 = mesg || $f1 = mesgId ]] then continue fi echo "$f1 \c"# elif [[ `expr "$f2" : '[[:alnum:]_].*$'` = ${#f2} ]] then elif [[ `expr "$f2" : '[a-zA-Z0-9_.]*'` = ${#f2} ]] then if [[ $f1 = mesg || $f1 = mesgId ]] then continue fi echo "$f2 \c" fidone < $iecho ""done
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -