Small formatting fix to print the newline between HID and I2C lists
This commit is contained in:
1 parent
30c8c56a5e
commit
c2163e2b99
1 file changed
+1
-1
@@ -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}}
|
||||
|
||||
Reference in new issue
Block a user