bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: passing array to command line argument.


From: Chet Ramey
Subject: Re: passing array to command line argument.
Date: Thu, 11 Dec 2008 22:04:06 -0500
User-agent: Thunderbird 2.0.0.18 (Macintosh/20081105)

Dolphin06 wrote:
> I dont get it right, i always display only the first one, and i dont know how
> to write a scalar variable.
> I tried like this :
> ssh $USER@$SERVER script2 -f "${my_array[@]}"

Stick an `echo' in front of this command and see what you're executing.

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

Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]