奇怪!!
出现报错后 我执行
sed -i .bak 's#<hr class="hrz">#<hr class="hrz"/>#g' concise_bing.xml
事后查看 concise_bing.xml 文件 是否是
查看替换成功后, 才执行
/Applications/wikit dict --create /Users/vivian/Downloads/dict/concise_bing.mdx --output ~/Downloads/dict/concisebing.dictionary
执行后又出现报错, 同样的错误, 我查看 concise_bing.xml 文件 发现 <hr class="hrz"/>
又是<hr class="hrz">
我非常确定替换成功,且事后去 concise_bing.xml 文件确认过