2014-08-21 13:01:24 +08:00
|
|
|
Array index out of bounds
|
|
|
|
fish: show "$foo[2]"
|
|
|
|
^
|
|
|
|
Array index out of bounds
|
|
|
|
fish: show $foo[2]
|
|
|
|
^
|
|
|
|
Array index out of bounds
|
|
|
|
fish: show "$foo[1 2]"
|
|
|
|
^
|
|
|
|
Array index out of bounds
|
|
|
|
fish: show $foo[1 2]
|
|
|
|
^
|
|
|
|
Array index out of bounds
|
|
|
|
fish: show "$foo[2 1]"
|
|
|
|
^
|
|
|
|
Array index out of bounds
|
|
|
|
fish: show $foo[2 1]
|
|
|
|
^
|
2014-08-21 15:26:14 +08:00
|
|
|
Invalid index value
|
|
|
|
fish: echo "$foo[d]"
|
|
|
|
^
|
|
|
|
Invalid index value
|
|
|
|
fish: echo $foo[d]
|
|
|
|
^
|
|
|
|
Array index out of bounds
|
|
|
|
fish: echo ()[1]
|
|
|
|
^
|
|
|
|
Invalid index value
|
|
|
|
fish: echo ()[d]
|
|
|
|
^
|
2015-05-16 08:10:29 +08:00
|
|
|
$) is not a valid variable in fish.
|
|
|
|
fish: echo $$paren
|
|
|
|
^
|