genstr

来自「aee是一种易使用的文本编辑器。你可以不用说明书来使用它。它提供终端接口和本地的」· 代码 · 共 33 行

TXT
33
字号
#!/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 + =
减小字号Ctrl + -
显示快捷键?