Re: [dev] [sbase] [PATCH] Remove unnecessary enum [NVM]

From: FRIGN <dev_AT_frign.de>
Date: Sun, 11 May 2014 23:47:11 +0200

On Sun, 11 May 2014 23:20:26 +0200
FRIGN <dev_AT_frign.de> wrote:

> reading the grep-code in sbase kind of left me wondering why this enum
> was implemented. In the contexts it's been used it doesn't make much
> sense and obfuscates the code.

I should've read the manual[0] a bit more attentively.
For the record:

0 One or more lines were selected.
1 No lines were selected.
>1 An error occurred.

Now what's left to discuss is the exit-status for usage(), which I will
adress in a bigger patch I planned on writing tomorrow.

Cheers

FRIGN

[0]: http://pubs.opengroup.org/onlinepubs/009695399/utilities/grep.html

-- 
FRIGN <dev_AT_frign.de>
Received on Sun May 11 2014 - 23:47:11 CEST

This archive was generated by hypermail 2.3.0 : Sun May 11 2014 - 23:48:06 CEST