[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:26:28 -0700 |
for example, i want to use "ls | grep lin" to find file names
containing "lin". In OSX, i do:
[xah@xahg5][Tue Aug 12 12:25:04][~/web/emacs]
ls | grep lin
elisp_link_report.el
elisp_link_report.el~
elisp_link_report.html
elisp_make_link.html
emacs_installing_packages.html
xah_emacs_linkify.el
xah_emacs_linkify.el~
[xah@xahg5][Tue Aug 12 12:25:10][~/web/emacs]
---------------------
in eshell, i get:
Welcome to the Emacs shell
/Users/xah/Documents/temp $ cd ~/web/emacs
~/web/emacs $ ls | grep lin
elisp_link_report.el modernization.html
elisp_link_report.el~ modernization_html_mail.html
elisp_link_report.html modernization_meta_key.html
elisp_make_link.html ms_keyboard
emacs_installing_packages.html wrap-url2.html.gz
emacs_manual_problem.html xah_emacs_linkify.el
emacs_n_unicode.html xah_emacs_linkify.el~
~/web/emacs $
---------------------
Xah
∑ http://xahlee.org/
☄
On Aug 12, 2008, at 12:19 PM, Eli Zaretskii wrote:
Cc: 699@emacsbugs.donarmstrong.com,
bug-gnu-emacs@gnu.org
From: xah lee <xah@xahlee.org>
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.
Sorry, I don't understand: what's the difference between ``display
formatting'' and ``real output''? You don't see the output of `ls'
_except_ formatted by it.
I might be wrong... but i mean the bottom line is that "
ls | grep some" have different behavior in unix shell and eshell.
And I see the _same_ behavior, modulo the different defaults about how
many columns to put on one line.
☄
- bug#699: grep in eshell incorrect, xah lee, 2008/08/12
- bug#699: grep in eshell incorrect, Eli Zaretskii, 2008/08/12
- bug#699: grep in eshell incorrect, xah lee, 2008/08/12
- bug#699: grep in eshell incorrect, Eli Zaretskii, 2008/08/12
- bug#699: grep in eshell incorrect, xah lee, 2008/08/12
- bug#699: grep in eshell incorrect, Eli Zaretskii, 2008/08/12
- bug#699: grep in eshell incorrect,
xah lee <=
- bug#699: grep in eshell incorrect, Glenn Morris, 2008/08/12
- Processed: Re: bug#699: grep in eshell incorrect, Emacs bug Tracking System, 2008/08/12
- bug#699: grep in eshell incorrect, Glenn Morris, 2008/08/12
- bug#699: grep in eshell incorrect, Eli Zaretskii, 2008/08/12
- bug#699: grep in eshell incorrect, Glenn Morris, 2008/08/12
- Message not available
- Re: bug#699: grep in eshell incorrect, Ted Zlatanov, 2008/08/12
- bug#699: grep in eshell incorrect, Eli Zaretskii, 2008/08/12
bug#699: marked as done (grep in eshell incorrect), Emacs bug Tracking System, 2008/08/15