From nobody Wed Aug 07 18:31:01 2024 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 4WfJdy0zT6z5SNrb for ; Wed, 07 Aug 2024 18:31:02 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WfJdx5mZyz4MXT for ; Wed, 7 Aug 2024 18:31:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723055461; a=rsa-sha256; cv=none; b=kHum6+y/YUHCaY9xMytaRRea06TjkKgoMKAe6vO5MLjifQEYO8KfZDlOtCJ8Uhb4nAVLz0 74imaHgiUrENKus7fMcvpI3nV5oKHotTaxYjJfmjHX/jc8fDGh8XqAdu4IR6G9stE8oZeb kQ4L1XYD+9f4w8eYWO29B03Qn4r/n/QTEteeg8wv0L1DSRzSRto5jpk7/ZipSGHlZOZwSw 1aq7Ch+NjFTt/HBZtIVUNcazltKspDwTizjvvMxslkHiIkGt7LwtXzNL8G0VmEJGJwGu7w E/RmI3VzG6Npjqx7x9RCi4t3R0OsJdP9ZyfDnwwOn6r+y1iXaOpL3ned0zKtzg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723055461; 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=I+KgtYbOiaknE6KwauQ6t698xzONiLbUu/loVwlTdFQ=; b=bURolvtue4ksC5I32kYhbSqHwF23bd8CSInUjFqU4oYXmb4eUY2LlatZstuoIKADTfl3Cj E9a1kOqKcjzQz0v5H34Km9G+QeNQhIPuqzde4hPr2BQGseVLB7KbY5X+cqcgIPgNTQQH8g fgezK+Uy+5/dbwmEPAD8xIj1xLixvF3PXXpSviZhX+vGeL0lBO2QRIsWopR27eLn59JL7z Bhfqz4Ws2tPgkACM7BNtcdZ7rWllbj/y0HGwNpY/nBtbmEc04iV2rPvCOFF2cIxt2YXMC5 E5Ysc/xxjc3g2CjbI4d+LIDIiAymh8mADSrwjGIqUAbjtginDxMAwJGmO2VvgQ== 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 4WfJdx5L0sz11ls for ; Wed, 7 Aug 2024 18:31:01 +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 477IV1QX031808 for ; Wed, 7 Aug 2024 18:31:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 477IV1GA031801 for bugs@FreeBSD.org; Wed, 7 Aug 2024 18:31:01 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 280676] grep default recursive behavior differs from manpage Date: Wed, 07 Aug 2024 18:31:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: radoslaw.piliszek@gmail.com 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 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=3D280676 Bug ID: 280676 Summary: grep default recursive behavior differs from manpage Product: Base System Version: 14.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: radoslaw.piliszek@gmail.com FreeBSD's `grep(1)` describes that `-p` is the default when using `-R`, i.e= ., that symlinks are *not* followed. However, it seems that actually `-S` is t= he default, i.e., symlinks *are* followed (when using only `-R`). Notably, the= man page is internally coherent (both `-p` and `-S` descriptions claim that `-p= ` is the default). I don't know FreeBSD's previous behavior of grep so cannot comment whether = it's the man page that is supposed to be wrong or grep's behavior but they certa= inly disagree on the matter. Bug found on Chimera Linux and verified on FreeBSD 14.1-STABLE which is the source of Chimera Linux's base utils at the moment. --=20 You are receiving this mail because: You are the assignee for the bug.=