# echo 'サンプル' | nkf -j | od -t a | sed 's/ //g'
0000000 esc $B%5%s%W%kesc ( B nl
0000017
0000017
或者
# echo echo 'サンプル' | nkf -j | awk '{gsub(/\x1B[$(]B/,"");print}'
echo %5%s%W%k
# vi local.cf
邮件名设定方法
header SAMPLE Subject =~ /%5%s%W%k/
describe SAMPLE sample desu
score SAMPLE 10.0
describe SAMPLE sample desu
score SAMPLE 10.0
文本设定方法
body SAMPLE_BODY /%5%s%W%k/
describe SAMPLE_BODY sample body desu
score SAMPLE_BODY 10.0
describe SAMPLE_BODY sample body desu
score SAMPLE_BODY 10.0
转载于:https://blog.51cto.com/196262/127156