Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v2.27.0
  • v2.25.1
  • v2.24.3
  • v2.26.0
  • v2.24.2
  • v2.25.0
  • v2.24.1
  • v2.22.2
  • v2.23.3
  • v2.24.0
  • v2.23.2
  • v2.23.1
  • v2.23.0
  • v2.22.1
  • v2.22.0
  • v2.21.0
  • v2.20.0
  • v2.19.1
  • v2.18.2
  • v2.19.0
21 results

getting-started.md

  • Justin's avatar
    9503434d
    Fix IPS array variable expansion · 9503434d
    Justin authored
    $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.5
    9503434d
    History
    Fix IPS array variable expansion
    Justin authored
    $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.5