all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: xah lee <xah@xahlee.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: bug-gnu-emacs@gnu.org, 699@emacsbugs.donarmstrong.com
Subject: bug#699: grep in eshell incorrect
Date: Tue, 12 Aug 2008 12:03:55 -0700	[thread overview]
Message-ID: <0ACC5CA6-7146-4D02-AE56-1AC44A87D74A@xahlee.org> (raw)
In-Reply-To: <uej4ugj2y.fsf@gnu.org>

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	other threads:[~2008-08-12 19:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <orbpzugkci.fsf@fencepost.gnu.org>
2008-08-12  7:01 ` bug#699: grep in eshell incorrect xah lee
2008-08-12 18:27   ` Eli Zaretskii
2008-08-12 18:40     ` xah lee
2008-08-12 18:54       ` Eli Zaretskii
2008-08-12 19:03         ` xah lee [this message]
2008-08-12 19:19           ` Eli Zaretskii
2008-08-12 19:26             ` xah lee
2008-08-12 19:59             ` Glenn Morris
2008-08-12 20:10               ` Processed: " Emacs bug Tracking System
2008-08-13  2:42               ` Glenn Morris
2008-08-13  3:12               ` Eli Zaretskii
2008-08-13  3:21                 ` Glenn Morris
     [not found]       ` <mailman.16486.1218568069.18990.bug-gnu-emacs@gnu.org>
2008-08-12 20:18         ` Ted Zlatanov
2008-08-13  3:24           ` Eli Zaretskii
2008-08-15 19:25   ` bug#699: marked as done (grep in eshell incorrect) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0ACC5CA6-7146-4D02-AE56-1AC44A87D74A@xahlee.org \
    --to=xah@xahlee.org \
    --cc=699@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.