owlps/doc/preproc-man.sh

10 lines
268 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/\1\U\2\1/' $@ | ./preproc.sh