mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-01 22:57:14 +08:00
264d8270a7
Mostly resolves #4862, though there remains the lingering question of whether or not to emit a warning to /dev/tty or stderr when a non-literal-zero index evaluates to zero.
4 lines
44 B
Fish
4 lines
44 B
Fish
echo $foo[0]
|
|
echo $foo[ 0 ]
|
|
echo $foo[ 00 ]
|