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


Message #10 received at 29297-done <at> debbugs.gnu.org (full text, mbox):

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.