Browse Source
$IPS only expands to the first ip address in the array: justin@box:~$ declare -a IPS=(10.10.1.3 10.10.1.4 10.10.1.5) justin@box:~$ echo $IPS 10.10.1.3 justin@box:~$ echo ${IPS[@]} 10.10.1.3 10.10.1.4 10.10.1.5pull/1235/head
Justin
7 years ago
committed by
GitHub
1 changed files with 1 additions and 1 deletions
Loading…