From: Emil Velikov Date: Sun, 9 Nov 2025 23:20:44 +0000 (+0000) Subject: scripts/build-scdoc.sh: stop using cat X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfc33e6c7370e4ef63ace3cb7dff18dec557b2d3;p=thirdparty%2Fkmod.git scripts/build-scdoc.sh: stop using cat 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 Reviewed-by: Lucas De Marchi Link: https://github.com/kmod-project/kmod/pull/pull/400 Signed-off-by: Lucas De Marchi --- diff --git a/scripts/build-scdoc.sh b/scripts/build-scdoc.sh index 66aa673d..0a4ffc38 100755 --- a/scripts/build-scdoc.sh +++ b/scripts/build-scdoc.sh @@ -6,4 +6,4 @@ SCDOC=$1 INPUT=$2 SED_PATTERN=$3 -cat $INPUT | sed -e $SED_PATTERN | $SCDOC +sed -e $SED_PATTERN $INPUT | $SCDOC