owlps/doc/preproc-man.sh

10 lines
268 B
Bash
Raw Normal View History

#!/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.
2013-01-11 22:21:38 +01:00
sed -r 's/^([+=])([^+=].*)\1/\1\U\2\1/' $@ | ./preproc.sh