GNU bug report logs - #29297
linux grep question, please help us to see, thank you

Previous Next

Package: grep;

Reported by: Yufuping <fuping.yu <at> huawei.com>

Date: Tue, 14 Nov 2017 16:22:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#29297: closed (linux grep question, please help us to see,
 thank you )
Date: Tue, 31 Dec 2019 19:57:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 31 Dec 2019 11:56:09 -0800
with message-id <816c77ae-4326-2c1d-3f6e-848994fc72cb <at> cs.ucla.edu>
and subject line Re: linux grep question, please help us to see, thank you
has caused the debbugs.gnu.org bug report #29297,
regarding linux grep question, please help us to see, thank you 
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
29297: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29297
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Yufuping <fuping.yu <at> huawei.com>
To: "bug-grep <at> gnu.org" <bug-grep <at> gnu.org>
Cc: wumingxin <wumingxin <at> huawei.com>, Huotongyao <huotongyao <at> huawei.com>
Subject: linux grep question, please help us to see, thank you 
Date: Tue, 14 Nov 2017 03:47:22 +0000
[Message part 3 (text/plain, inline)]
Hi,

when we executed shell, we found that the grep command with wrong write error, and the return value was 2. May I ask where the problem is? And this is a probabilistic problem, Thank you

[cid:image001.png <at> 01D35D3E.3236BD00]
[Message part 4 (text/html, inline)]
[image001.png (image/png, inline)]
[Message part 6 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Yufuping <fuping.yu <at> huawei.com>
Cc: 29297-done <at> debbugs.gnu.org
Subject: Re: linux grep question, please help us to see, thank you
Date: Tue, 31 Dec 2019 11:56:09 -0800
Re <https://bugs.gnu.org/29297> dated 2017-11-14:

> the grep command with wrong write error, and the return value was 2. May I ask where the problem is? And this is a probabilistic problem

Grep reports 'write error' if the 'write' system call fails. If 'grep' was
incorrect, it's because the 'write' system call was incorrect. So, as near as I
can see this is not a 'grep' bug and I am closing the bug report.


This bug report was last modified 5 years and 238 days ago.

Previous Next


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