Small formatting fix to print the newline between HID and I2C lists

This commit is contained in:
Chris authored and Adam Honse committed 2022-06-02 09:02:42 +00:00
1 parent 30c8c56a5e
commit c2163e2b99
1 file changed
+1 -1
+1 -1
View File
@@ -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}}