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
perl suppress printing when output to pipe
Crystal in Visual Studio dynamic Database persistant on postback
Thumb Drive -- file transfer fails ?
connect an iPhone to Windows SBS 2003
What does IPv6 have in store for us, will we have any trouble talking to remote sites?
Active Directory queries to pull distribution list members and user email addresses
binding data in aspx from sql data source
Split word document and save based on tags
vCenter Converter and SBS2008
SSRS Report Speed issue