Microsoft
Software
Hardware
Network
Question : bash generate code from embedded code
hi!
i need to generate code inside my own bash script. I'll try to explain myself with an example:
case $A in
"A")
LIST="`for RS in ${ARRAY1[@]}; do if [ "$RS" == "lalala" ]; then echo "yes"; fi; done`
and it will generate next stuff:
LIST="yes"
Is it possible? if yes... i'm doing it right?
Thanks in advance!
Answer : bash generate code from embedded code
You may return first the path/url of the file with some messages (size, filename,...) to the browser then the browser receiving a valid message and url start downloading the file with the url provided
Random Solutions
Latest Vsphere client
SQLCommandBuilder - GetUpdateCommand, GetInsertCommand and GetDeleteCommand Questions
IPv4 vs IPv6
Run the first php script in background - When done - run the next script ...
Give user rights to add computer to a domain
Proliant ML110 G4 Lost RAID and Randomly gives Error 0251
Delete blank line from textarea
Current Logged In User
Replace ButtonClickEvent with RadWindow Close (ASP.NET, C#, Telerik RadControls)
Shell script to queue commands