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: Eli Zaretskii
Subject: bug#699: grep in eshell incorrect
Date: Wed, 13 Aug 2008 06:24:21 +0300

> From: Ted Zlatanov <address@hidden>
> Date: Tue, 12 Aug 2008 15:18:55 -0500
> 
> On Tue, 12 Aug 2008 21:54:29 +0300 Eli Zaretskii <address@hidden> wrote: 
> 
> >> Cc: address@hidden,
> >> address@hidden
> >> From: xah lee <address@hidden>
> >> 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.
> 
> EZ> Yes, it _is_ supposed to emulate a Unix shell.  But I just tried that
> EZ> same pipe both on GNU/Linux and on MS-Windows, and in both cases "ls"
> EZ> still forms multiple columns even in a pipe.  So I don't see anything
> EZ> wrong with how Eshell's "ls" works.
> 
> My tests show different results.

Yes, you are right: I forgot that my `ls' is aliased to "ls -x".
Under -x, the pipe doesn't imply -1.

Sorry for the confusion.







reply via email to

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