X-Loop: help-debbugs@HIDDEN Subject: bug#60981: Bug in man page for the "test" command Resent-From: "Kaulkwappe" <kaulkwappe@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-coreutils@HIDDEN Resent-Date: Sat, 21 Jan 2023 08:50:02 +0000 Resent-Message-ID: <handler.60981.B.167429098912803 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 60981 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 60981 <at> debbugs.gnu.org X-Debbugs-Original-To: <bug-coreutils@HIDDEN> Reply-To: kaulkwappe+0cvos0vxyd@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.167429098912803 (code B ref -1); Sat, 21 Jan 2023 08:50:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jan 2023 08:49:49 +0000 Received: from localhost ([127.0.0.1]:48016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pJ9ZM-0003KP-MY for submit <at> debbugs.gnu.org; Sat, 21 Jan 2023 03:49:49 -0500 Received: from lists.gnu.org ([209.51.188.17]:40452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <kaulkwappe@HIDDEN>) id 1pJ1Xa-0006Za-Mg for submit <at> debbugs.gnu.org; Fri, 20 Jan 2023 19:15:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <kaulkwappe@HIDDEN>) id 1pJ1Xa-0007gv-7P for bug-coreutils@HIDDEN; Fri, 20 Jan 2023 19:15:26 -0500 Received: from mail.prvy.eu ([185.236.8.250]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <kaulkwappe@HIDDEN>) id 1pJ1XY-0007yb-3H for bug-coreutils@HIDDEN; Fri, 20 Jan 2023 19:15:25 -0500 Received: from unknown (unknown [192.168.254.1]) by mail.prvy.eu (Postfix) with ESMTPSA id D835B7F9EE for <bug-coreutils@HIDDEN>; Sat, 21 Jan 2023 00:15:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=prvy.eu; s=20180701; t=1674260119; bh=ELM7nlvuMbnYITxmZho1/MOdRUHit+nWSB/CPeoENWU=; h=Date:From:Reply-To:To:Subject:From; b=o1dRljiIyaJiu6a8z07EMOnoLzRJYA1yYsESEcLwh5Uv8IGNPc3ABkO4u2SwqpwUR pm04aQI0K7wP0MohDurrggBvqSCva5pjtng19Vey6I328PrMUkNqk4VBldoG9rzNr/ WnQSJD1GvP6YQhbPmvEjnMbZWmfGxJAsLbke1MfmEabEgfKOhs3b+t/PsUrlJk7f8+ llrLmodzfPgTNkl6YU0UQ3B1A+fr3gZLoV2x8tgmd8p0Y4Nbu4ftzkmSw8pCUmL31j fypFRLwg2BcFabifMqqbmUcqRUh3U9WXkWBCv+jKMmKfNPxkQ/TVitnI05A18gXCbz RmlRplff1v3mg== Date: Sat, 21 Jan 2023 01:15:19 +0100 From: "Kaulkwappe" <kaulkwappe@HIDDEN> Message-ID: <5xng0h0bh.eGdhs8@HIDDEN> X-Conversation-ID: 0cvos0vxyd MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.236.8.250; envelope-from=kaulkwappe@HIDDEN; helo=mail.prvy.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Mailman-Approved-At: Sat, 21 Jan 2023 03:49:47 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) Dear colleagues,=0A=0Athis might have been reported before (or not), but th= ere is a confusing description in the man page of the "test command:=0A=0A#= ##=0A-e FILE=0A=C2=A0 FILE exists=0A=0A-L FILE=0A=C2=A0 FILE exists and is = a symbolic link (same as -h)=0A=0A###=0A=0AThe problem here is the situatio= n of a broken symlink. When flag -e is used on a broken symbolic link, it f= ails. But when -L is used on a broken symlink, it returns true.=0A=0AWhile = this may be the expected behavior, it does not reflect what the documentati= on says. Because if -e fails on a broken symlink ("FILE exists") one would = assume that the same of course is true for -L. The correct description for = -L should be:=0A=0A###=0A-e FILE=0A=C2=A0 FILE exists or is valid symbolic = link=0A=0A-L FILE=0A=C2=A0 FILE is a symbolic link, whether broken or not (= same as -h)=0A=0A###=0A=0AKind Regards,=0AKaulkwappe
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: kaulkwappe+0cvos0vxyd@HIDDEN Subject: bug#60981: Acknowledgement (Bug in man page for the "test" command) Message-ID: <handler.60981.B.167429098912803.ack <at> debbugs.gnu.org> References: <5xng0h0bh.eGdhs8@HIDDEN> X-Gnu-PR-Message: ack 60981 X-Gnu-PR-Package: coreutils Reply-To: 60981 <at> debbugs.gnu.org Date: Sat, 21 Jan 2023 08:50:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-coreutils@HIDDEN If you wish to submit further information on this problem, please send it to 60981 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 60981: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D60981 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.