filters: import more modern scripts

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Tento commit je obsažen v:
Jason A. Donenfeld
2013-05-27 21:39:43 +02:00
rodič dcbc0438b2
revize 8149be213f
10 změnil soubory, kde provedl 1815 přidání a 15 odebrání

5
filters/html-converters/man2html Spustitelný soubor
Zobrazit soubor

@@ -0,0 +1,5 @@
#!/bin/sh
echo "<div style=\"font-family: monospace\">"
groff -mandoc -T html -P -r -P -l | egrep -v '(<html>|<head>|<meta|<title>|</title>|</head>|<body>|</body>|</html>|<!DOCTYPE|"http://www.w3.org)'
echo "</div>"

2
filters/html-converters/md2html Spustitelný soubor
Zobrazit soubor

@@ -0,0 +1,2 @@
#!/bin/sh
exec "$(dirname "$0")/resources/markdown.pl"

Rozdílový obsah nebyl zobrazen, protože je příliš veliký Načíst rozdílové porovnání

Zobrazit soubor

@@ -0,0 +1,4 @@
%(stylesheet)s
%(body_pre_docinfo)s
%(docinfo)s
%(body)s

2
filters/html-converters/rst2html Spustitelný soubor
Zobrazit soubor

@@ -0,0 +1,2 @@
#!/bin/sh
rst2html.py --template="$(dirname $0)/resources/rst-template.txt"

4
filters/html-converters/txt2html Spustitelný soubor
Zobrazit soubor

@@ -0,0 +1,4 @@
#!/bin/sh
echo "<pre>"
cat
echo "</pre>"