We don't need the cat + extra pipe - sed can take the input filename as
an argument.
This change is meant to ease de-duplication of the man pages - coming
with a later commit.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Lucas De Marchi <demarchi@kernel.org>
Link: https://github.com/kmod-project/kmod/pull/pull/400
Signed-off-by: Lucas De Marchi <demarchi@kernel.org>
INPUT=$2
SED_PATTERN=$3
-cat $INPUT | sed -e $SED_PATTERN | $SCDOC
+sed -e $SED_PATTERN $INPUT | $SCDOC