Debian Codegraph @

build-aux/rpl-help2man-wrapper

raw
1 #! /bin/sh
2 # Wrap rpl for help2man
3 # Remove group heading and space before it.
4
5 if test "$1" = "--help"; then
6 ./rpl $1 | perl -0777 -pe 's/\n Group: case\n Treatment [^\n]+\n//s'
7 else
8 ./rpl $1
9 fi