Sample Header Ad - 728x90

Zenity checklist from file

1 vote
0 answers
588 views
I created a checklist and I want to insert data from a file in a specific order. enter image description here 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: enter image description here How can I match the checklist with the content of the .txt file? I tried something like cat data.txt | tr "something" but it didn't work according to my needs. This is the output I get, when combined: enter image description here Thank you for your time!!
Asked by stewie (31 rep)
Sep 26, 2022, 07:37 AM
Last activity: Sep 27, 2022, 07:08 AM