I am brand-spankin' new to Bash script from a web programming background, so my questions are going to, perhaps, sound "ignert" at best, but understand, I come from a TCL/PHP/Java/ASP background so I'm accustomed to All Things Web
Having said that, I need help. I wrote a bash script function that will return a
string (or whatever bash comes closest to doing "return" as) and needs to return it into a variable that I will use later.
Here is the function:
Problem is that I have no clue as to how to capture the return of this function.
does not work
also does not work
also does not work
also does not work
[CODE excludedList=`echo \\`tarExcludedList\\''[/CODE].. you guessed it.
What do I do? I want to return the last line of tarExcludedList into a variable and have no clue how.
Help appreciated
Thanx
Phil