1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-23 07:12:12 -07:00
emacs/test/lisp/eshell
Jim Porter 6dc51d4cca Support applying indices to more Eshell dollar expansions
For example, '${echo -e "hi\nbye"}[1]' should expand to "bye".

* lisp/eshell/esh-var.el (eshell-parse-variable-ref): Support applying
indices to '${}', '$()', and '$<>' forms.
(Bug#54227)

* lisp/eshell/esh-var-tests.el (esh-var-test/interp-lisp-indices)
(esh-var-test/interp-cmd-indices)
(esh-var-test/interp-cmd-external-indices)
(esh-var-test/quoted-interp-lisp-indices)
(esh-var-test/quoted-interp-cmd-indices): New tests.
2022-03-08 15:55:41 +02:00
..
em-extpipe-tests.el
em-hist-tests.el
em-ls-tests.el
em-tramp-tests.el
esh-opt-tests.el
esh-proc-tests.el
esh-var-tests.el Support applying indices to more Eshell dollar expansions 2022-03-08 15:55:41 +02:00
eshell-tests-helpers.el
eshell-tests.el