Dolphin06 wrote:
> Hello,
> So how can i pass the entire array, i m new to shell scripting so i do not
> really understand when you talk about unsubscripted word expansion

Since programs only take a list of strings as arguments, you have to expand
the array to a list of values.  The "[EMAIL PROTECTED]" expansion can do that.
Expanding an array variable without using a subscript (${array} as opposed
to ${array[subscript]}) expands to the first element.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://cnswww.cns.cwru.edu/~chet/


Reply via email to