Small formatting fix to print the newline between HID and I2C lists
This commit is contained in:
parent
30c8c56a5e
commit
c2163e2b99
1 changed files with 1 additions and 1 deletions
|
|
@ -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}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue