From nobody Wed Jul 26 08:31:44 2023 X-Original-To: bugs@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 4R9nDw5TxSz4p0y4 for ; Wed, 26 Jul 2023 08:31:44 +0000 (UTC) (envelope-from bugzilla-noreply@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 4R9nDw2RBPz4JFG for ; Wed, 26 Jul 2023 08:31:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690360304; 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=fiTKz2ccMu9eMwYQIxP+gMmsc7mXHjkiaLoj7JRnHSs=; b=RlR4pGPfoGdHNKRk9thTytuT3yQgS8VuxnzGzpmZaOGzPc02Osgdzmy5FZHIIhpTe0mwNy adxLQLXg4oV1l6DKlOcG7jFqqD9reUwL7o0nvMVa6NOsLJh0EJHxB5ooTeLEKHbyM7fQ/l M6eJG9312jVhWmDtLRA+XK1DVSvfxDvdJi0yoQkoexcPfk0dcRXRhLVUZeUNvAzVWwaA72 01pJ6qAY5HwBlZs1WBENeOKkct1+HOhY+1f/bvH5TX21vjM17MS2GU9TjEAZd902/B1Thi fZ0OagCW5gnKM++hjeNaxIc3yBH4N2QmsdTmEN6h/BEs920/1r4CL3hkjvIkkQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690360304; a=rsa-sha256; cv=none; b=FUIQS6lvcHOkOnCyblVBmsIp+HM2oQwxH+6S3vx5Xv51vVoPFiNHiyLNnn0lAUax6nBXvA 0qMcZv6oYVjWMtsU21t0EDXS1DXwV2GccsKOcvyWhe/4CmUOmmdWVMsFzOJlnPCcChHJgR 3j58DRKeTcro0Z8Nsvle0qdDy582/ahzIoW/6n3Fm4lKSqpd2z7cV5eEPLJ6gQoKZTdflw 1NplPCQEC2V+eZEz7VTsQDqQdI3wJiyGIK0LGA2wZrnPY88JRJ+tXlw6efPlh72Po8Uszx reMK8WQcB8Eza20Nadk5sQYYG8QRYlMA8dzKcCsoiytmUGHb0OMb2cn8x7s8vA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4R9nDw1XKqzbqK for ; Wed, 26 Jul 2023 08:31:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 36Q8Vif2045115 for ; Wed, 26 Jul 2023 08:31:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36Q8Vir4045114 for bugs@FreeBSD.org; Wed, 26 Jul 2023 08:31:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 272729] space character in -K option regex Date: Wed, 26 Jul 2023 08:31:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: m.viey@wanadoo.fr X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272729 Bug ID: 272729 Summary: space character in -K option regex Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Manual Pages Assignee: bugs@FreeBSD.org Reporter: m.viey@wanadoo.fr CC: doc@FreeBSD.org When searching man page with `man -K` I need to escape space character with `\s`. I looked into ma, egrep and re_format man page, this format is not document= ed anywhere. extract from `man man`: -K regexp Does a full text search in all manual pages. regexp is a regu= lar expression as understood by =E2=80=9Cgrep -E=E2=80=9D. This o= ption requires mandoc(1). This is a slow operation. `man grep`: -E, --extended-regexp Interpret pattern as an extended regular expression (i.e., for= ce grep to behave as egrep). `man re_format`: a =E2=80=98\=E2= =80=99 followed by one of the characters =E2=80=98^.[$()|*+?{\=E2=80=99 (matching that ch= aracter taken as an ordinary character), a =E2=80=98\=E2=80=99 followed by any other chara= cter=E2=80=A1 (matching that character taken as an ordinary character, as if the =E2=80=98\=E2= =80=99 had not been present=E2=80=A1),=20 I think the issue comes from the egrep regex format. But I have found nothi= ng into its documentation. --=20 You are receiving this mail because: You are the assignee for the bug.=