Hi Irek,

Thank you for your insight on this issue.  I will ask our Linux Support team to 
do the needful.

Thanks,
Mike

-----Original Message-----
From: Irek Szczesniak [mailto:[email protected]] 
Sent: Friday, June 01, 2012 8:43 AM
To: Nemeth, Michael Kenneth (Mike)
Cc: [email protected]
Subject: Re: [ast-users] ksh: command pipe -- connection reset

On Thu, May 31, 2012 at 9:48 PM, Nemeth, Michael Kenneth (Mike)
<[email protected]> wrote:
>
> Hello,
>
>
>
> We are using ksh93u (2011-02-08) source compiled on rhel5.0 and we are
> experiencing intermittent connect reset errors with typical unix command
> pipelines.
>
>
>
> Example:
>
>
>
> min=`grep -v "^#" $infile | head -1 | nawk '{printf("%.3f\n",$3)}'`
>
>
>
> will produce error:
>
>
>
> grep: writing output: Connection reset by peer
>
>
>
> I reviewed all ast-user, ast-developers archives, and other forums I have
> come to the following topics:
>
>
>
> bug#9089: [1003.1(2008)/Issue 7 0000205]: Shell pipeline connection
> requirement too vague
>
>
>
> http://lists.gnu.org/archive/html/bug-coreutils/2011-07/msg00090.html
>
> http://lists.gnu.org/archive/html/bug-coreutils/2011-07/msg00089.html
>
>
>
> Is there a solution to this issue?

Solution: File bug against GNU coreutils, gawk and gsed to handle
ECONNRESET the same way as EPIPE. From what I can grok in the
standards documentation, proposals and interpretation requests filed
to the Austin Group this the only correct way to go.

Irek

_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to