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: Chris F.A. Johnson
Subject: Re: Optimal emacs shell for coding
Date: Wed, 13 Aug 2008 01:01:27 +0000
User-agent: slrn/0.9.8.1 (Linux)

On 2008-08-12, Eli Zaretskii wrote:
...
> And I'm saying that you are wrong: -1 is not implied in a pipeline
> from the shell prompt, either.  Please try that and see for yourself.
> I tried that both on GNU/Linux and in a Windows command prompt window,
> and GNU `ls' does not imply -1 in either case.

    If the output is not going to a terminal, ls will print one file
    per line. This is as required by POSIX and how every version of ls
    behaves.

    At the shell prompt (GNU/Linux, FreeBSD, etc., etc...)

$ touch qwerty uiop asdf ghjkl zxcv bnml
$ ls
asdf  bnml  ghjkl  qwerty  uiop  zxcv
$ ls | cat
asdf
bnml
ghjkl
qwerty
uiop
zxcv


    Emacs eshell behaves incorrectly:

$ ls
asdf  bnml  ghjkl  qwerty  uiop  zxcv
$ ls | cat
asdf  bnml  ghjkl  qwerty  uiop  zxcv


-- 
   Chris F.A. Johnson, webmaster         <http://Woodbine-Gerrard.com>
   ===================================================================
   Author:
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)


reply via email to

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