GNU bug report logs - #15414
24.3; piping problems in eshell

Previous Next

Package: emacs;

Reported by: Joseph Mingrone <jrm <at> ftfl.ca>

Date: Thu, 19 Sep 2013 01:48:01 UTC

Severity: normal

Tags: confirmed, fixed, patch

Merged with 18569, 25549, 29154

Found in versions 24.3, 25.1, 25.3

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Joseph Mingrone <jrm <at> ftfl.ca>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 15414 <at> debbugs.gnu.org
Subject: bug#15414: 24.3; piping problems in eshell
Date: Thu, 19 Sep 2013 12:04:00 -0300
Glenn Morris <rgm <at> gnu.org> writes:

> Joseph Mingrone wrote:
>
>> 1. emacs -Q
>> 2. M-x eshell
>> 3. cat a_file | wc -l
>>
>> The output of 3. will be wrong for most files longer than something like
>> 40 lines and it will often give different results each time 3. is run.
>
> FWIW, I did not see this in 100 repetitions on a 100 line file, on
> either of two systems. I got the correct answer every time.
>
> I did notice that
>
>   cat does-not-exist | wc -l 
>
> returns 1 though.

Were either of those systems running FreeBSD?

~ $ uname -a
Linux node8 3.5.0-27-generic #46~precise1-Ubuntu SMP Tue Mar 26 19:33:21
UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
$ wc -l q08-02a.qzp
82 q08-02a.qzp
~ $ cat q08-02a.qzp | wc -l
82


$ uname -a
FreeBSD phe 9.1-STABLE FreeBSD 9.1-STABLE #0 r247012: Tue Feb 19 21:45:31 AST 2013     root <at> phe.ath.cx:/usr/obj/usr/src/sys/PHE  amd64
$ wc -l q08-02a.qzp 
      82 q08-02a.qzp
$ cat q08-02a.qzp | wc -l
      51

If there is anything else I can test, please let me know.

Joseph




This bug report was last modified 7 years and 204 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.