ports/www/wget2/files/patch-docs_wget2__md2man.sh.in
Dmitry Marakasov 79b02f62ea www/wget2: fix manpage generation
PR:		26126
Reported by:	yonas.yanfa@gmail.com
2022-03-10 14:22:56 +03:00

9 lines
252 B
Bash

--- docs/wget2_md2man.sh.in.orig 2021-08-21 17:47:39 UTC
+++ docs/wget2_md2man.sh.in
@@ -11,5 +11,5 @@ set -e
echo ""
cat "$1"
) | \
-sed '/# Wget2/,/^#/{/^# </!d}' | \
+gsed '/# Wget2/,/^#/{/^# </!d}' | \
$PANDOC -s -f markdown -t man -o "$2"