[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9226: 23.3; [rgrep]; (matches found) ?
From: |
Lennart Borgman |
Subject: |
bug#9226: 23.3; [rgrep]; (matches found) ? |
Date: |
Wed, 17 Aug 2011 17:02:17 +0200 |
On Wed, Aug 17, 2011 at 16:52, Dave Abrahams <dave@boostpro.com> wrote:
>
> on Wed Aug 10 2011, Juri Linkov <juri-AT-jurta.org> wrote:
>
>> So to never lie to the users and determine reliably
>> the status we could use the following logic:
>>
>> If status is 0 and the output is not empty:
>> Grep finished (matches found)
>>
>> Otherwise:
>> Grep exited with status %d
>>
>> These changes completely remove the case of status 1 that displayed
>> "finished with no matches found", and also remove the word "abnormally"
>> from the message of remaining cases, because we can't reliably determine
>> the case of "no matches found" by checking status 123 of a command line
>> that contains "xargs".
>
> Sounds like an improvement to me.
Is it the status of the grep program that is shown, or? Maybe this
should be clarified?