replaceKey.sh 765 B

123456
  1. # before compile
  2. find src/main/asciidoc/ -type f -name "*.adoc" | xargs sed -i 's# RPS_KEY_DEF# 📌 术语定义#g'
  3. find src/main/asciidoc/ -type f -name "*.adoc" | xargs sed -i 's# RPS_CONSTRAINT# 🔗 规范约束#g'
  4. find src/main/asciidoc/ -type f -name "*.adoc" | xargs sed -i 's# RPS_REF# 📚 参考#g'
  5. find src/main/asciidoc/ -type f -name "*.adoc" | xargs sed -i 's#RPS_SHOULDER_VERSION#0.8.1#g'
  6. find src/main/asciidoc/ -type f -name "*.adoc" | xargs sed -i 's#RPS_TOC#=====\n:Shoulder: Specifications\n:Author: lym\n:Email: <cn_lym@foxmail.com>\n:Date: 2020\n:Revision: 1.0\n:canonical: {base-url}{docname}.html\n:doctype: book\n:revdate: {docdate}\n:sectanchors:\n:xrefstyle: full\n:anchor:\n:toc: left\n:toclevels: 3\n:sectnumlevels: 5#g'