emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Feature Request] Add Zsh-style range and list iteration syntax to Eshel


From: the_wurfkreuz
Subject: [Feature Request] Add Zsh-style range and list iteration syntax to Eshell
Date: Wed, 04 Dec 2024 17:15:48 +0000

Zsh has an ability to quickly iterate over ranges and lists like this:

touch file{1,3}

creates: file1, file3


touch file{1..3}

creates: file1, file2, file3


It would be handy to have something similar in eshell instead of explicitly writing a loop:

for i in (number-sequence 1 5) {
    touch (format "file%d" i)
}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]