From nobody Fri Oct 6 14:13:39 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 4S29QD2m9Gz4wf6Z for ; Fri, 6 Oct 2023 14:13:40 +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 4S29QD1lZVz3Nh4 for ; Fri, 6 Oct 2023 14:13:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696601620; a=rsa-sha256; cv=none; b=ox/fCH+or3j3d0/6UGEJkl5RVNtTWrf0P2pN9s6Oog5M5dcBGCkrEnvF0rZZoforVcU3nt 83TumsB0Ov9iXfpaXmRnhDCXBpYprhVnbzQYSVgERXRDoKg/UKaQo5+tBm7ICBV17kXHWj tm+UxvEowpqyM5JlC3i+6hGRxBTlSpiCVBhIMZAHB5SyxEZfrzPpbI/oKqsw6Bm2feVX5h seRUL3slCAKkyZaXiTFz1X9hcf/glVfXZqJs09I7lc/7b1tDfoy43Hera2XE4yj56t1gof 3teDHjg74yKku7ExelJ6hbxWtKI/WLRgDtFbzyuV7UEM6ja7SC+DVKeXZioGpw== 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=1696601620; 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: in-reply-to:in-reply-to:references:references; bh=p+3NkAGjKJgcDL49d9fPpu0DscG7dfq4MVKxM8vOKNg=; b=KLGvrEc2piQugdc9jxyuciZVBjyyS3JslR3RkFI41451jK6SjBbsIo7R/YrH4BtOAiCRy5 3GshSGta8acNJVq2DHNhrdRCRSeE+SWP1EG1XTFQtgnciPzY//eJDjdJuP7EvYcAdpsYNK GlXbBZWTyH4DJiI2I0UDAfvEaMHZQA4OcrxGD/LOfgD0sAi0cdQSm8nbVTxDekVU0YD6Q8 9vo/yxRrhmlqoJN0AFKOvntrw1G7CrNXnZnQpTacA+VjxseNOxAPO2j91uJnaZyLnDCQbp 1jLBYtIwpIIg6lrApEnFeZubF8PcGsWgdQY+YOvwv5TUvjkq+9GK/91T7IfKVw== 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 4S29QD0sKdzrQp for ; Fri, 6 Oct 2023 14:13:40 +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 396EDeHp042016 for ; Fri, 6 Oct 2023 14:13:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 396EDeak042015 for bugs@FreeBSD.org; Fri, 6 Oct 2023 14:13:40 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 227706] document that file(1) succeeds when the file doesn't exist Date: Fri, 06 Oct 2023 14:13:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: easy, feature, needs-patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bcr@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution cc Message-ID: In-Reply-To: References: 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=3D227706 Benedict Reuschling changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |Overcome By Events CC| |bcr@FreeBSD.org --- Comment #3 from Benedict Reuschling --- The EXIT STATUS section on current file(1) versions includes this: EXIT STATUS file will exit with 0 if the operation was successful or >0 if an error was encountered. The following errors cause diagnostic messages, but don't affect the program exit code (as POSIX requires), unless -E is specified: =E2=80=A2 A file cannot be found =E2=80=A2 There is no permission to read a file =E2=80=A2 The file type cannot be determined I think that covers the issue of this PR. Thanks for submitting it, it was fixed in the meantime. Sorry it took so long to close it. --=20 You are receiving this mail because: You are the assignee for the bug.=