Are you sure? The source has a BSD licensegrep
is GNU grep (with some features disabled).
/*-
6 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
7 *
8 * Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav
9 * Copyright (C) 2008-2009 Gabor Kovesdan <gabor@FreeBSD.org>
10 * All rights reserved.
Are you sure? The source has a BSD license
[base] Contents of /release/12.1.0/usr.bin/grep/grep.c
svnweb.freebsd.org
bsdgrep
, I believe.% find . -type f -name "*php" -exec grep -H "hello world" {} +
./folder/file2.php:hello world
./file1.php:hello world
I really just wanted -r to work the way it does in linux.
That'sbsdgrep
, I believe.
textproc/gnugrepI really just wanted -r to work the way it does in linux.