Chet Ramey <chet.ra...@case.edu> writes:

> 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 $u...@$server script2 -f "${my_arr...@]}"
>
> Stick an `echo' in front of this command and see what you're executing.

Better yet: set -x to get an accurate view of the command, including
quoting.

Andreas.

-- 
Andreas Schwab, SuSE Labs, sch...@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Reply via email to