From nobody Mon Oct 03 14:12:35 2022 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 4Mh2pr0dXGz4V9PZ for ; Mon, 3 Oct 2022 14:12:36 +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 4Mh2pq68bPz42JX for ; Mon, 3 Oct 2022 14:12:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4Mh2pq5DFYzDrM for ; Mon, 3 Oct 2022 14:12:35 +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 293ECZva076064 for ; Mon, 3 Oct 2022 14:12:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 293ECZnP076063 for bugs@FreeBSD.org; Mon, 3 Oct 2022 14:12:35 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 266791] bc does not flush output before exit when input is a file argument Date: Mon, 03 Oct 2022 14:12:35 +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: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jwb@freebsd.org 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664806355; 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=TQmY2DEsptfzqP5uEk34cuX7THMIWonEsLJoveqMIzw=; b=sEfT4BdEuRWnaj5oc6kwTLPNOB2aSudPqzzqjw0NQ/nGdzLteJEvyUnsrcMzWzKhXjPU+i dPaoyQ4XC2mVsx7p2noepGjOUe/OzZE2bKRB/WhfVWrE0detIDbP/7bMTZyLcs0C+Q9VJE MjKY7QfdcuXkJhrIdNTshcQ/GnUxruPfcsB+SbnqYLCMTDTzd+DIJqneCnDaewZ8nadeP+ a3AKLMBX3HE6g6UHKQRHb7EF0oDZ+hPmgsPwJY9uGH7rTS7LMyCjx8cwvoUZx+fmr9Td3N /qHA2aw9ta4/ur12StoprMoCJGyZ4aW4/h2XSQ2McFe9qPJ+mewAVAN7C7ySng== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664806355; a=rsa-sha256; cv=none; b=kBXZv6XmIBiR+66doTsms2gDcVi+lInMn/P4xw8E/5LICGuuZgx6+9twFwrZD6mZjIUBzY YwkURtncb8r1jrKT+pAHL4jQ1lOxUgawx8keaFYgWNkY3M7BoZ+vq2EH8NVqglOxo9U12a pkEIyK1BCl/zxnQ6h1Vi+laqN7tLtJbq4OzRc0G1Dnh8EdYVJmLzkNmVg893fSVc+18Rk9 nPy1Utnxbe4G4cxuL2flFup3zK4B5KndqjMe4seCJga28MPxSNIDkZNlPQNkMyk0H6NTlK Yovu8c5zUxd69cpUCrf2uUnYUxnFODuK/wNWavwEbcM/NM35s2jZKWg6Bry6cA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266791 Bug ID: 266791 Summary: bc does not flush output before exit when input is a file argument Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: jwb@freebsd.org > cat test.bc=20 sqrt(2) quit > bc -l test.bc > bc -l < test.bc 1.41421356237309504880 On NetBSD, both commands produce the same output. --=20 You are receiving this mail because: You are the assignee for the bug.=