I have a machine with grep installed but option -R is not compiled-in and there is also no replacement switch.
How can I replace it in bash?
I tried:
for i in `find *`; do
grep 'pattern' $i;
done
but that is not right re-interpretation, isn’t it?
Try piping the output of
findtoxargsso thatgreponly gets invoked a few times (xargskeeps reading input until it gets so much that more would not fit in an argument list):