Re: CURRENT: bc -e results in empty string/result

From: O. Hartmann <ohartmann_at_walstatt.org>
Date: Fri, 3 Jul 2020 17:39:10 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Am Fri, 3 Jul 2020 17:24:36 +0200
"O. Hartmann" <ohartmann_at_walstatt.org> schrieb:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Hello list,
> 
> running some scripts caluclating via bc() the expression shown below:
> 
> bc -e '6582031 - 1048576 - 0 - 409600 - 1024 - 40 - 4096' -e quit
> 
> results on recent CURRENT ( FreeBSD 13.0-CURRENT #80 r362884: Thu Jul  2 10:08:23 CEST 2020
> amd64) with an empty result, while it is calculated correctly on 12-STABLE (FreeBSD
> 12.1-STABLE #67 r362719: Sun Jun 28 09:59:20 CEST 2020 amd64) and a CURRENT dated from  Sun
> Jun 28th (have no revision number anymore, the expression above was calculated correctly on
> the same box which now has r362884 and is failing).
> 
> Whats wrong?
> 
> Kind regards,
> 
> oliver
> 
> -----BEGIN PGP SIGNATURE-----
> 
> iHUEARYIAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCXv9NzwAKCRA4N1ZZPba5
> Rzt4AQDZs9MED/Mzzvy4jNBDI34jvYpD536uPhfQBvTKqindCgEAqqljPlX5bKm7
> xtj8VZ4h3SL6JdnwEZKmnGGSKTp6AA8=
> =6zt6
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current

> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"


It seems, that the "-e quit" statement is the culprit. 
-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCXv9ROQAKCRA4N1ZZPba5
R60kAP96WOy8BgRaxwC4BMeyGslfu47334Xkf7z9g13MXkIelwD9EcaCwbcSMioa
atWxipkYdYGVmxPFTscaPrqygGEgZAE=
=sTk9
-----END PGP SIGNATURE-----
Received on Fri Jul 03 2020 - 13:39:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:24 UTC