meso-web

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

commit 4eb2979d73b0dd6f544093ba56d88559d4769996
parent 1fec59e83a142e5a3fa57bb559a5f70640b3a054
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Thu, 30 Jul 2026 16:56:55 +0200

Remove the convert_man script

As it is no longer in use.

Diffstat:
Dscripts/convert_man.sh | 54------------------------------------------------------
1 file changed, 0 insertions(+), 54 deletions(-)

diff --git a/scripts/convert_man.sh b/scripts/convert_man.sh @@ -1,54 +0,0 @@ -#!/bin/sh - -# Copyright (C) 2017-2026 |Méso|Star> (contact@meso-star.com) -# -# This file is part of Méso-Web. -# -# Méso-Web is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Méso-Web is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Méso-Web. If not, see <http://www.gnu.org/licenses/>. - -set -e - -# The following line can be translated as follows: -# - Convert the nroff file submitted on stdin to HTML -# - Remove the page header -# - Remove the footer -# - Remove invalid links (they are used as section tags) -# - Replace multiple non-breaking spaces with a single one -# - Remove the opening HTML tag tt, which is no longer supported -# - Remove the closing HTML tag tt, which is no longer supported -# - Remove the compact attribute from the HTML tag dl, which is no -# longer supported -# - Remove links on csplit, feh, gnuplot, sed, mmap, and mpirun -# - Correct the link to the GPLv3+ license -# - Remove the unexpected link on sqrt(2) -# - Fix man2html issues that translate the ' character to cq -# - Use tidy to further clean up the HTML code - man2html -r \ -| tail -n +10 \ -| sed '/^<HR>$/,$d' \ -| sed 's/\(\&nbsp;\)\{1,\}/\&nbsp;/g' \ -| sed 's/^<A NAME="[[:alpha:]]\{0,\}">\&nbsp;<\/A>//g' \ -| sed 's/<TT>//g' \ -| sed 's/<\/TT>//g' \ -| sed 's/<DL COMPACT>/<DL>/g' \ -| sed -e 's/<B><A HREF="\.\.\/man1\/csplit\.1\.html">csplit<\/A><\/B>/csplit/g' \ - -e 's/<B><A HREF="\.\.\/man1\/feh\.1\.html">feh<\/A><\/B>/feh/g' \ - -e 's/<B><A HREF="\.\.\/man1\/gnuplot\.1\.html">gnuplot<\/A><\/B>/gnuplot/g' \ - -e 's/<B><A HREF="\.\.\/man1\/sed\.1\.html">sed<\/A><\/B>/sed/g' \ - -e 's/<B><A HREF="\.\.\/man1\/mpirun\.1\.html">mpirun<\/A><\/B>/mpirun/g' \ - -e 's/<B><A HREF="\.\.\/man2\/mmap\.2\.html">mmap<\/A><\/B>/mmap/g' \ - -e 's/gpl\.html\.">\(.*\).<\/A>/gpl.html">\1<\/A>./g' \ - -e 's/<A HREF="\.\.\/man2\/sqrt\.2\.html">sqrt<\/A>/sqrt/g' \ - -e "s/cq\([a-z]\)\>/'\1/g" \ -| tidy --show-info no -m --show-body-only yes 2>/dev/null || true