[Bug 266791] bc does not flush output before exit when input is a file argument

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 03 Oct 2022 14:12:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266791

            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 
sqrt(2)
quit

> bc -l test.bc

> bc -l < test.bc
1.41421356237309504880

On NetBSD, both commands produce the same output.

-- 
You are receiving this mail because:
You are the assignee for the bug.