📄 genstr
字号:
#!/bin/shset -xif [ $# -lt 2 ]then echo usage $0 source_file dest_file exit 1fitrap 'rm -f /tmp/$$.out; exit 0' 0 # set up traps to clean uptrap 'rm -f /tmp/$$.out; exit 1' 1 2 3 15 # on errors AND normal exitif [ -f $2 ]then rm $2ficat $1 | grep 'catgetlocal.*\"*\"' | sed -e 's/^.*catgetlocal(//' | sed -e 's/^[ ]*//' | sed -e 's/, \"/ \"/' | sed -e 's/);//' > /tmp/$$.outcat > $2 <<EOF\$ \$ \$set 1\$quote "EOFsort -n < /tmp/$$.out >> $2
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -