From nobody Wed Oct 05 17:06:11 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MjLZC3PVkz4ddDM; Wed, 5 Oct 2022 17:06:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MjLZC2wjlz3vKs; Wed, 5 Oct 2022 17:06:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664989571; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=f4ouiLRatzC5wX5HxwZA+ulrKnnWlUldJnmcUaRdqSI=; b=ycHraU/dMXTtesgnhQ3lwBhDsqA7gYyeE/Tk9km5ced8zBboCvSnQfVapa/Yi3ui71TdG1 ru7yzNj5w0RP03fJYNlboj3Gxdz23j5otuIF5PXbsWRX1a09vuxVD0JeGmHrBQGGmfmHMk odDfQlsc7lG24FyrrNiKoPX9BmJ0m6KJoLfam732rZu3ohnwYw4d2klp7Xpj0zm9/+ZTFM +LotLuOhiA0geEfaQCNhwmwS7+puRjNUQDqIxO3fG8WHphYjuzUsFea6E37JJfpHRlceL7 O0gtvLVQ3F2lOtAv0h2ie62ljVI+PkzY8Z1YaivNfozw29R2Hh0gvfaBhAVqhg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MjLZC21tNzybb; Wed, 5 Oct 2022 17:06:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 295H6BDb092210; Wed, 5 Oct 2022 17:06:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 295H6BRr092209; Wed, 5 Oct 2022 17:06:11 GMT (envelope-from git) Date: Wed, 5 Oct 2022 17:06:11 GMT Message-Id: <202210051706.295H6BRr092209@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Daniel Engberg Subject: git: 070e8d36d9b3 - main - grep: Add quotes in manpage when using wildcards with --include List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 070e8d36d9b3edee4d8b36cdf9745b9af239dce6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664989571; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=f4ouiLRatzC5wX5HxwZA+ulrKnnWlUldJnmcUaRdqSI=; b=DMKGrPn++dgluy8OCGY+A+5ThMk/9r66OachyQH+g22m7dBBowrYEf51ZDLMfE+3q3nCjP sBlc4BwixFf7dXxvlI0khGI4BbIJC+VhXiUfZ7XShUfwTmhPBAhdpRmZiNr+j4FXPsghuz 7ccQF1s1x0faGhOJrIQb4XoR+rrxWL4ErFIvovwx9UL3j0pb16sot/8yDBSYKSqF8xI9gh vYNvXU/TVyjUbMJTZ0iNtisCXR2sxctvpI30dcjj97QLTm1WQmd+fGYWd77u8wvw2L46Yr QM6LxB7VViqipudmdsEwxkSrt6YCrQGtRB5/I9c0SVR/NufpgdOUF8FOCnrOFA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664989571; a=rsa-sha256; cv=none; b=PHNBXqS7vMElW7OyVu1feTQItnZKCr+EDvCwcQ02MqUIpH8GVHTRc3wGUXwdTfvkOBKP97 dVDdaI045Vlo70gbcjD9B6lgyShaO4zmpsp/bWmcJBY+cg2o5gHCjFEMLPcTTNJQ0BinEY HoeBo0T/5F22kDO3E2FLymjLVLO7oRWD27FzjCT2dJkvuy4uSliwOdSl7YzMYbcve8FnuR RTZ8ncoDEaCgNsJ3ATIcBdOCMlvI6SKQGhbMj1QNyAPDQESmRY4U3NZsBfs7gINyuUYIoI pTjIUPugZEwdRKEHQaV+7dr5vW9xworXpLPliVdHMN4kcYoB7cdUHkwmgtXNMQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by diizzy (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=070e8d36d9b3edee4d8b36cdf9745b9af239dce6 commit 070e8d36d9b3edee4d8b36cdf9745b9af239dce6 Author: Daniel Engberg AuthorDate: 2022-10-05 17:04:52 +0000 Commit: Daniel Engberg CommitDate: 2022-10-05 17:05:52 +0000 grep: Add quotes in manpage when using wildcards with --include Examples uses --include=*.h which doesn't work as intended Approved by: kevans Differential Revision: https://reviews.freebsd.org/D36883 --- usr.bin/grep/grep.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/grep/grep.1 b/usr.bin/grep/grep.1 index 3312f2510d30..36fcbf868984 100644 --- a/usr.bin/grep/grep.1 +++ b/usr.bin/grep/grep.1 @@ -515,11 +515,11 @@ Do the search recursively from the .Pa /usr/src/sys/arm directory .Pp -.Dl $ grep -H -R FIXME --include=*.h /usr/src/sys/arm/ +.Dl $ grep -H -R FIXME --include="*.h" /usr/src/sys/arm/ .It Same as above but show only the name of the matching file: .Pp -.Dl $ grep -l -R FIXME --include=*.h /usr/src/sys/arm/ +.Dl $ grep -l -R FIXME --include="*.h" /usr/src/sys/arm/ .It Show lines containing the text .Sq foo .