Eshell has different
$ expansion syntax from other shells. There
are some similarities, but don't let these lull you into a false sense
var. This is the main way to use variables in command invocations.
var. Raises an error if the value is not a sequence (see Sequences).
(lisp). On its own, this is identical to just
(lisp), but with the
$, it can be used in a string, such as ‘/some/path/$(lisp).txt’.
ith element of the value bound to
var. If the value is a string, it will be split at whitespace to make it a list. Again, raises an error if the value is not a sequence.
$var[: i j]
"hello", expecting it to be an alist (see Association Lists).
varwho car is equal to