owlps/doc/preproc-man.sh

10 lines
264 B
Bash
Executable File

#!/bin/sh
#
# This script is for preprocessing the files when man pages are
# targetted. The main preproc.sh script is called automatically.
#
# Modifications done:
# - Turns uppercase the first-level titles.
sed -r 's/^([+=])([^+=].*)/\1\U\2/' $@ | ./preproc.sh