aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xman2html.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/man2html.sh b/man2html.sh
index 45632d6..a564a88 100755
--- a/man2html.sh
+++ b/man2html.sh
@@ -45,6 +45,9 @@ do
sed -i '/^<A NAME="index">&nbsp;<\/A><H2>Index<\/H2>$/,$d' "${ftmp}"
head -n-3 "${ftmp}" > tmp; mv tmp "${ftmp}"
+ # change deprecated name in <a> into id
+ sed -i 's/A NAME="/A ID="/g' "${ftmp}"
+
# move generated file into output directory for further processing
cp "${ftmp}" "${out}/man${n}/${m}.html"
done