[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 11:40:25 -0700 |
Would you please care to explain what is wrong with it? As far as I
see, each line has a "lin" substring somewhere in it (modulo the
evident line wrapping).
Thanks. I never realized that.
Anyway, i thought this is unexpected behavior. For example, on mac os
x's teminal, it would give this:
[xah@xahg5][Tue Aug 12 11:37:38][~/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 11:37:40][~/web/emacs]
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.
Xah
∑ http://xahlee.org/
☄
On Aug 12, 2008, at 11:27 AM, Eli Zaretskii wrote:
From: xah lee <xah@xahlee.org>
Date: Tue, 12 Aug 2008 00:01:04 -0700
Cc:
The “grep” utility in “eshell” is incorrect. Here's is a
eshell log that illustrate it:
------------------------------
Welcome to the Emacs shell
~/web/emacs $ which grep
eshell/grep is a compiled Lisp function in `em-unix.el'
~/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 $
Would you please care to explain what is wrong with it? As far as I
see, each line has a "lin" substring somewhere in it (modulo the
evident line wrapping).
☄
- 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, 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, 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