meso-web

Sources of the |Méso|Star> website
git clone git://git.meso-star.fr/meso-web.git
Log | Files | Refs | README | LICENSE

commit a56427a31f6d191f5b3023bbd62b6594879a6555
parent 2b0ffcb1007e96589b75fedd698c6a6e89986a79
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri, 16 Jul 2021 18:19:29 +0200

Fix typos in the htrdr section

Diffstat:
Mhtrdr/htrdr-docs.html.in | 2+-
Mhtrdr/htrdr.sh | 9++++++++-
2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/htrdr/htrdr-docs.html.in b/htrdr/htrdr-docs.html.in @@ -36,7 +36,7 @@ <ul> <li><a href=man/man5/htmie.5.html>htmie</a></li> <li><a href=man/man5/htcp.5.html>htcp</a></li> - <li><a href="downloads/gas_opt_prop_en.pdf">htgop</a> [PDF]</li> + <li><a href="downloads/gas_opt_prop_en.pdf">htgop</a> [pdf]</li> </ul> <h3>Describe a combustion medium</h3> diff --git a/htrdr/htrdr.sh b/htrdr/htrdr.sh @@ -84,7 +84,9 @@ cd $dir_curr ################################################################################ cd $dir_temp copying=$($markdown $arch/share/doc/htrdr/README.md \ - | sed '/^<h2>Copyright notice<\/h2>/,$!d') + | sed '/^<h2>Copyright notice<\/h2>/,$!d' \ + | sed 's/opyright (C)/opyright \&#169;/g') + cd $dir_curr ################################################################################ @@ -270,5 +272,10 @@ for((i=0; i<${#htrdr_man_pages[@]}; ++i)); do sed -i 's/<\/I><B>or<\/B><I>/<\/I> <B>or<\/B> <I>/g' $output sed -i 's/<\/I><B>and<\/B><I>/<\/I> <B>and<\/B> <I>/g' $output fi + + if [ "$man_name" == "htrdr-combustion" ]; then + # Fix typos and misspellings + sed -i 's/\<spectrallyole\>/spectrally/g' $output + fi done