build_page.sh
来自「用于计算逻辑与算术表达式」· Shell 代码 · 共 23 行
SH
23 行
#!/bin/bash
#
# This script is used for building the muParser html page from
# html templates.
#
rm -rf ../*.html
#
# add navigation bar to all html templates starting with mup_*
#
for file in mup_*
do
echo processing $file
cat navigation.html | sed "/\$PLACEHOLDER/r $file" > ../$file
done
# create index.html
cp ../mup_intro.html ../index.html
cat ../mup_intro.html | sed "/\$STAT_COUNTER/r stat_counter.html" > ../index.html
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?