help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Loops and scripting in eshell


From: Kai Grossjohann
Subject: Re: Loops and scripting in eshell
Date: Mon, 20 Oct 2003 23:27:17 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (berkeley-unix)

David Kastrup <dak@gnu.org> writes:

> for f in ${ls -1} { echo $f; }

Hm.  The fact that the -1 is needed hints at some potential problem.
In the shell, ls behaves differently.  (The -1 is not needed there.)
So maybe some other programs break when used in a similar way?

(I guess the difference has to do with isatty(3).  No idea how
difficult would it be for eshell to do this right.)

What do people think?

Kai


reply via email to

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