Create a simple dialog /bash script to add some variables to a file
Budget: $10 – $30 USD
Hello,
I have a JSON file for which the keys can be easily populated using a single command I will provide .
I need a simple dialog script that will allow me to do a couple of things :
1) Select number of different entries that should be populated .
2) Select a random number with decimals 0.xxx from the interval used in Form Menu options . Each input field of the form menu will be 1 of the variables we need to replace (total of 5)
3) Depending on how many times this needs to be done, script will perform a foreach loop that will use the random fields from form menu to populate the whole json file . A_1, B_1, C_1, D_1, E_1 then A_2,B_2, C_2, D_2, E_2 etc
I have a JSON file for which the keys can be easily populated using a single command I will provide .
I need a simple dialog script that will allow me to do a couple of things :
1) Select number of different entries that should be populated .
2) Select a random number with decimals 0.xxx from the interval used in Form Menu options . Each input field of the form menu will be 1 of the variables we need to replace (total of 5)
3) Depending on how many times this needs to be done, script will perform a foreach loop that will use the random fields from form menu to populate the whole json file . A_1, B_1, C_1, D_1, E_1 then A_2,B_2, C_2, D_2, E_2 etc