From cfc33e6c7370e4ef63ace3cb7dff18dec557b2d3 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 9 Nov 2025 23:20:44 +0000 Subject: [PATCH] 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 --- scripts/build-scdoc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3