[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Loops and scripting in eshell
From: |
David Kastrup |
Subject: |
Re: Loops and scripting in eshell |
Date: |
19 Oct 2003 22:45:57 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Oliver Scholz <alkibiades@gmx.de> writes:
> Oliver Scholz <alkibiades@gmx.de> writes:
>
> > Kai Grossjohann <kai.grossjohann@gmx.net> writes:
> >
> >> Oliver Scholz <alkibiades@gmx.de> writes:
> >>
> [...]
> >>> 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
>
> [...]
> > Thank you very much. What a relief!
> [...]
>
> I am not quite there yet. I'd sometimes need something like:
>
> for f in `ls` { echo $f }
>
> So what would be the equivalent to bash:
>
> for f in `ls`; do echo $f; done
>
> or
>
> for f in $(ls); do echo $f; done
for f in ${ls -1} { echo $f; }
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Inject some eshell features into shell?, Kai Grossjohann, 2003/10/15
- Loops and scripting in eshell (was: Inject some eshell features into shell?), Oliver Scholz, 2003/10/19
- Re: Loops and scripting in eshell, Kai Grossjohann, 2003/10/19
- Message not available
- Re: Loops and scripting in eshell, Oliver Scholz, 2003/10/19
- Re: Loops and scripting in eshell, Oliver Scholz, 2003/10/19
- Re: Loops and scripting in eshell,
David Kastrup <=
- Re: Loops and scripting in eshell, Kai Grossjohann, 2003/10/20
- Re: Loops and scripting in eshell, Oliver Scholz, 2003/10/21
- Re: Loops and scripting in eshell, David Kastrup, 2003/10/21
- Re: Loops and scripting in eshell, Kai Grossjohann, 2003/10/21
Re: Loops and scripting in eshell, Reiner Steib, 2003/10/20
Re: Inject some eshell features into shell?, Matthias Meulien, 2003/10/22