grep: add -R
authorTomi Leppanen <tomi.leppanen@jolla.com>
Mon, 25 Nov 2019 15:59:52 +0000 (17:59 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 27 Nov 2019 16:11:09 +0000 (17:11 +0100)
commit1b76ffaae400f266fe5aea0d5900a7e2ab9d7aa8
tree3d1cd284687332353a67e839ebbcb2741bb14f99
parent008413754ba588e6168c3d15280181fb2c331770
grep: add -R

This adds -R option to grep similar to GNU grep. It is the same as -r
but also dereferences symbolic links to directories.

function                                             old     new   delta
grep_main                                            834     850     +16
packed_usage                                       33362   33368      +6
grep_file                                           1440    1441      +1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 23/0)               Total: 23 bytes

Signed-off-by: Tomi Leppanen <tomi.leppanen@jolla.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
findutils/grep.c