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

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

Re: How to list directories in eshell


From: Tim X
Subject: Re: How to list directories in eshell
Date: Thu, 16 Oct 2008 11:21:22 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Am 15.10.2008 um 11:56 schrieb Lorenzo Isella:
>
>> Within bash, I can easily list the directories only within the current
>> directory by issuing for instance
>>
>> $ ls -d */
>
>
> This is a malfunction in bash. 'ls -d' tells ls to list everything as a
> directory. In tcsh your command works correctly, i.e., it lists all
> visible entries as if they were directories.
>

Seems odd for it to be a bash problem if it works fine under bash as the
OP indicates. 

Note that in emacs 23, eshell and ls -d * works as expected i.e. only
gives directory names and not contents - the same as it does when run
under bash. 

I'm running 

GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-10-11 on 
lion
GNU bash, version 3.2.39(1)-release (i486-pc-linux-gnu)
ls (GNU coreutils) 6.10
Linux lion 2.6.26-1-686 #1 SMP Wed Oct 1 12:03:14 UTC 2008 i686 GNU/Linux

What version of emacs and bash and what platform is the OP on?

Tim

-- 
tcross (at) rapttech dot com dot au


reply via email to

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