[Bug 247742] /usr/bin/bc: -e quit results in empty result
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jul 3 16:01:55 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247742
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 at FreeBSD.org
Reporter: ohartmann at walstatt.org
The follwoing expression doesn't work on recent CURRENT (FreeBSD 13.0-CURRENT
#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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list