GNU bug report logs - #22568
"grep ... | tee file" drops the 'n' in its output

Previous Next

Package: coreutils;

Reported by: oldefoxx <oldefoxx <at> cox.net>

Date: Fri, 5 Feb 2016 21:45:02 UTC

Severity: normal

Tags: moreinfo

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #18 received at control <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
To: 22568 <at> debbugs.gnu.org
Subject: Re: bug#22568: "grep ... | tee file" drops the 'n' in its output
Date: Thu, 25 Oct 2018 09:36:47 -0600
tags 22568 moreinfo
close 22568
stop

(triaging old bugs)

On Fri, Feb 05, 2016 at 03:05:24PM -0700, Eric Blake wrote:
> On 02/05/2016 02:41 PM, oldefoxx wrote:
> > Odd problem.  Seems to be partly tied to when IFS=\n is used for
> 
> It's not obvious how grep, cat, or tee fit into the picture here.
> Without seeing the full shell script you are running, it is very hard to
> say what exactly went wrong for you, but in all likelihood, it is NOT a
> bug in 'tee' nor in 'grep', but a case of the shell doing exactly what
> you told it to.
> 

With no further comments in 2 years, I'm closing this bug.
Discussion can continue by replying to this thread.

-assaf





This bug report was last modified 6 years and 268 days ago.

Previous Next


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