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

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

bug#699: grep in eshell incorrect


From: xah lee
Subject: bug#699: grep in eshell incorrect
Date: Tue, 12 Aug 2008 12:03:55 -0700

Ok. I just did ls, and yes it forms multi columns.

However, when i do

ls | grep xyz

it doesn't produce the result eshell would. i.e. the multi column produced by ls seems to be a done as display formatting, not as its real output. I might be wrong... but i mean the bottom line is that " ls | grep some" have different behavior in unix shell and eshell.

  Xah
∑ http://xahlee.org/

☄

On Aug 12, 2008, at 11:54 AM, Eli Zaretskii wrote:

Cc: 699@emacsbugs.donarmstrong.com,
 bug-gnu-emacs@gnu.org
From: xah lee <xah@xahlee.org>
Date: Tue, 12 Aug 2008 11:40:25 -0700

So, possibly the eshell's "ls" command forming multiple columns is a
bad design. Because after all it is supposed to emulate the unix
shell behavior and "ls | grep xyz" is common idiom.

Yes, it _is_ supposed to emulate a Unix shell.  But I just tried that
same pipe both on GNU/Linux and on MS-Windows, and in both cases "ls"
still forms multiple columns even in a pipe.  So I don't see anything
wrong with how Eshell's "ls" works.

☄









reply via email to

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