Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Jul 2020 16:01:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 247742] /usr/bin/bc: -e quit results in empty result
Message-ID:  <bug-247742-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247742

            Bug ID: 247742
           Summary: /usr/bin/bc: -e quit results in empty result
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: ohartmann@walstatt.org

The follwoing expression doesn't work on recent CURRENT (FreeBSD 13.0-CURRE=
NT
#78 r362787: Mon Jun 29 20:53:22 CEST 2020 amd64 and FreeBSD 13.0-CURRENT #=
83
r362913: Fri Jul  3 17:21:30 CEST 2020 amd64 as well):

# bc -e '6582031 - 1048576 - 0 - 409600 - 1024 - 40 - 4096' -e '5000 - 1' -e
quit
#

and with -e halt:

#  bc -e '6582031 - 1048576 - 0 - 409600 - 1024 - 40 - 4096' -e '5000 - 1' =
-e
halt
# 5118695
# 4999

as expected. Last known good was  FreeBSD 13.0-CURRENT #64 r362651: Fri Jun=
 26
17:05:42 CEST 2020 amd64.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247742-227>