mirror of
https://github.com/CrystalSplitter/ghcitui.git
synced 2024-10-26 10:58:12 +03:00
8 lines
167 B
Bash
Executable File
8 lines
167 B
Bash
Executable File
#!/bin/sh
|
|
|
|
GENDIR="gen"
|
|
mkdir -p "${GENDIR}"
|
|
TMPFILE="$(mktemp)"
|
|
rst2man MANUAL.rst > "${TMPFILE}"
|
|
MANWIDTH=79 man "${TMPFILE}" | sed -e '1,5d' > ${GENDIR}/MANUAL.txt
|