2018-11-23 09:52:07 +08:00
|
|
|
|
|
|
|
####################
|
|
|
|
# Slices
|
2018-11-28 22:27:21 +08:00
|
|
|
fish: Invalid index value
|
2017-03-26 20:38:59 +08:00
|
|
|
echo "$foo[d]"
|
|
|
|
^
|
2018-11-28 22:27:21 +08:00
|
|
|
fish: Invalid index value
|
2017-03-26 20:38:59 +08:00
|
|
|
echo $foo[d]
|
|
|
|
^
|
2018-11-28 22:27:21 +08:00
|
|
|
fish: Invalid index value
|
2017-03-26 20:38:59 +08:00
|
|
|
echo ()[d]
|
|
|
|
^
|
2017-08-04 12:37:02 +08:00
|
|
|
|
2018-10-11 05:26:29 +08:00
|
|
|
####################
|
|
|
|
# Percent self
|
|
|
|
|
2017-08-04 12:37:02 +08:00
|
|
|
####################
|
|
|
|
# Catch your breath
|
2018-11-28 22:27:21 +08:00
|
|
|
fish: $) is not a valid variable in fish.
|
2017-03-26 20:38:59 +08:00
|
|
|
echo $$paren
|
|
|
|
^
|
2017-08-04 12:37:02 +08:00
|
|
|
|
|
|
|
####################
|
|
|
|
# Test tilde expansion
|
2018-10-01 07:34:01 +08:00
|
|
|
|
|
|
|
####################
|
2018-10-07 11:22:35 +08:00
|
|
|
# Test path variables
|