Thank you!
Heejoon. 

2013. 6. 5. 오후 11:44 Lahiru Gunathilake <[email protected]> 작성:

> Following script will be useful for you..
> 
> echo $@
> echo $*
> echo $#
> for arg; do
>   printf '%s\n' "$arg"
> done
> 
> 
> Lahir
> 
> 
> On Wed, Jun 5, 2013 at 9:53 AM, 채희준 <[email protected]> wrote:
>> Hi Lahiru,
>> 
>> Thank you for your answer. 
>> 
>> By the way, how to create string array in shell script, so that I can pass 
>> it to ForEach component?
>> 
>> Thank you,
>> Heejoon. 
>> 
>> 2013. 6. 5. 오후 10:44 Lahiru Gunathilake <[email protected]> 작성:
>> 
>>> Hi Heejoon,
>>> 
>>> We take string array as input but we invoke the script with each element of 
>>> the string array multiple times, in Foreach we don't pass whole string 
>>> array to the application script at once. So you really don't have to handle 
>>> a string array in your script.
>>> 
>>> Lahiru
>>> 
>>> 
>>> On Tue, Jun 4, 2013 at 10:06 PM, Heejoon Chae <[email protected]> 
>>> wrote:
>>>> Hi,
>>>> 
>>>> I have quick question about Airavata For-Each component.
>>>> 
>>>> It seems that ForEach component takes String array as an input and pass 
>>>> them to next component one by one.
>>>> 
>>>> My question is how to create string array in shell script to pass it to 
>>>> ForEach component?
>>>> 
>>>> I normally generate string result like
>>>> 
>>>> echo "output=xxx"
>>>> 
>>>> at the end of script and connect it as an input of next component in 
>>>> Airavata workflow to pass the result and let next component know the input 
>>>> is arrived.
>>>> 
>>>> Thanks,
>>>> Heejoon.
>>> 
>>> 
>>> 
>>> -- 
>>> System Analyst Programmer
>>> PTI Lab
>>> Indiana University
> 
> 
> 
> -- 
> System Analyst Programmer
> PTI Lab
> Indiana University

Reply via email to