From c2163e2b992fe9c77fac58c1df104328dc4e802a Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 31 May 2022 21:22:42 +1000 Subject: [PATCH] Small formatting fix to print the newline between HID and I2C lists --- scripts/build-supported-devices-md.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-supported-devices-md.sh b/scripts/build-supported-devices-md.sh index 144abb98..9361728c 100755 --- a/scripts/build-supported-devices-md.sh +++ b/scripts/build-supported-devices-md.sh @@ -183,7 +183,7 @@ do while read -r detector do #Filter the list for all devices that use this detector - text=$(printf %s\n%s "$HID_LIST" "$I2C_LIST" | grep ${detector} | cut -d: -f 2- | sed -e 's/"//g') + text=$(printf "%s\n%s" "$HID_LIST" "$I2C_LIST" | grep ${detector} | cut -d: -f 2- | sed -e 's/"//g') #Replace the detector string with the list of devices detectors=${detectors/${detector}/${text}}