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
how to transfer apps from my iphone to my itunes library
MAC Os 10.4 Startup problem.
Operation Must Use an Updateable Query
Server healtness
Any tips on cleaning up Outlook emails which have been sitting from ages ?
Dell M610, Vsphere 4 & cisco 3130X switch configuration question
Copy "Protect Sheet" setttings to all tabs in a workbook
WRT54G - filter out websites
Shadow Copy
Complete uninstall of Sharepoint Services 3.0 from Windows 2008 Server