GNU bug report logs - #19981
eshell lacks a way to list directories only, files only, number of files

Previous Next

Package: emacs;

Reported by: Chen Xiaodong <fly797 <at> gmail.com>

Date: Mon, 2 Mar 2015 16:07:01 UTC

Severity: wishlist

Tags: notabug, wontfix

Found in version 24.4

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #15 received at 19981 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 19981 <at> debbugs.gnu.org, Chen Xiaodong <fly797 <at> gmail.com>
Subject: Re: bug#19981: 24.4; Flaws in Eshell
Date: Sun, 01 Dec 2019 09:13:10 +0100
tags 19981 + wontfix notabug
close 19981
thanks

Eli Zaretskii <eliz <at> gnu.org> writes:

>> Date: Tue, 03 Mar 2015 00:06:21 +0800
>> From: Chen Xiaodong <fly797 <at> gmail.com>
>> 
>> 
>> Compared with the command "dir" in shells of Window 2000/XP/7, as a 
>> novice to Eshell, I think there are big inconveniences in it.
>> (1)I can't get only directories listed with "ls -d" ("dir /ad" in 
>> Windows), likewise, can't get only files listed("dir /a-d" in Windows).
>> (2)I can't find out how many files there are and how much diskspace 
>> available with "ls" nor "du". These two items usually comes with "dir" 
>> in Windows.
>> 
>> Should there be some improvements?
>
> You can have all that in Eshell with "cmd /c dir ...".
>
> The built-in Eshell commands emulate their Unix namesakes, so they
> present features in those commands.

I don't think we want to add the Windows equivalents here, and Eli has
already demonstrated how one can do these things.  I'm therefore
closing this bug report.

If anyone disagrees with that, please reopen the bug report (or just
reply to this email if you don't know how to do that).

Best regards,
Stefan Kangas




This bug report was last modified 5 years and 175 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.