[Top][All Lists]

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

Re: Loops and scripting in eshell

From: Oliver Scholz
Subject: Re: Loops and scripting in eshell
Date: Sun, 19 Oct 2003 22:04:04 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (windows-nt)

Kai Grossjohann <> writes:

> Oliver Scholz <> writes:
>> Kai Grossjohann <> writes:
>>> Even though I now know how to do for loops in eshell, I was wondering

Somehow I misread this as “Even though I don't know ...” or else I
would have asked: How? instead of assuming that it isn't possible ...

>>> if the following idea might be fun to play with.  Maybe someone has
>>> already done this and would like to share?
>> [...]
>> Loops are the one feature that I am missing in eshell.
> for f in a b { echo $f; }               # invokes shell command echo
> for f in a b ( find-file f )            # invokes Lisp command

Funny. All I ever tried is

for f in a b; do echo $f; done

Which doesn't work, obviously.

Thank you very much. What a relief!

28 Vendémiaire an 212 de la Révolution
Liberté, Egalité, Fraternité!

reply via email to

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