7

Inserting code from a string or array in to whiptail

view full story
linux-howto

http://stackoverflow.com – I am new to Linux, the shell and scripts. I have come across a problem I can't find the answer to no matter how much I try to Google. I have a script which creates menu items for a program called "whiptail" which seems to be the standard way to show dialog boxes and menu items on Debian for the Raspberry Pi. The list items are created based on various data found in various files on the Linux box. My code starts #!/bin/sh The list is created in the #!/bin/sh environment at the top of the script. However, for examples sake lets define the list as: LIST="\"Tag 1\" \"Item 1\" \\ \n\"Tag (HowTos)