I created a checklist and I want to insert data from a file in a specific order.
The data comes from a terminal command in my bash script:
data=$(lsblk -o name,size,model --nodeps >> /data.txt
This is the content of the file:
How can I match the checklist with the content of the .txt file?
I tried something like
Thank you for your time!!


cat data.txt | tr "something"
but it didn't work according to my needs. This is the output I get, when combined:

Asked by stewie
(31 rep)
Sep 26, 2022, 07:37 AM
Last activity: Sep 27, 2022, 07:08 AM
Last activity: Sep 27, 2022, 07:08 AM