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

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

Re: Optimal emacs shell for coding


From: Lennart Borgman (gmail)
Subject: Re: Optimal emacs shell for coding
Date: Tue, 12 Aug 2008 21:02:21 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

Eli Zaretskii wrote:
Date: Tue, 12 Aug 2008 20:40:35 +0200
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
CC: help-gnu-emacs@gnu.org

Eli Zaretskii wrote:
Date: Tue, 12 Aug 2008 14:06:02 +0200
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
CC: help-gnu-emacs@gnu.org

If you look carefully at the output you can see that what is not handled is the parameters to "ls". If you try "ls -1" it will work.
What "parameters to ls"?  "ls" was invoked without any parameters.
If you from a shell do

   ls | grep

then normally ls implicitly gets the -1 parameter

No, it doesn't.  Please try and see for yourself (I just did).


We are miscommunicating. Exactly what are you saying?

I am saying that if I from a shell outside of Emacs do

  ls

than I get several files listed on each row while the output from

  ls | grep some-file

implies that ls got the implicit argument -1 when used in the pipe.





reply via email to

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