File: create_manpage.sh

package info (click to toggle)
fenrir 1.9.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 3,724 kB
  • sloc: python: 10,749; sh: 387; makefile: 12
file content (13 lines) | stat: -rwxr-xr-x 248 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
# needs pandoc and php installed

# remove old files
rm fenrir.1
rm user.md

# convert to markdown
php DokuWiki-to-Markdown-Converter/convert.php user.txt

# convert markdown to manpage
pandoc user.md -f markdown -t man -s -o fenrir.1