HomeFreeBSD

bsdgrep(1): Do some less dirty things with return types

Description

bsdgrep(1): Do some less dirty things with return types

Neither procfile nor grep_tree return anything meaningful to their callers.
None of the callers actually care about how many lines were matched in all
of the files they processed; it's all about "did anything match?"

This is generally just a light refactoring to remind me of what actually
matters as I'm rewriting these bits to care less about 'stuff'.

Details

Provenance
kevansAuthored on
Parents
rS334805: - Once we have shifted arguments up to thrice, base-bits-dir is $1 rather
Branches
Unknown
Tags
Unknown