Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jul 2020 17:39:10 +0200
From:      "O. Hartmann" <ohartmann@walstatt.org>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: CURRENT: bc -e results in empty string/result
Message-ID:  <20200703173937.5c4db920@thor.intern.walstatt.dynvpn.de>
In-Reply-To: <20200703172503.5b739102@thor.intern.walstatt.dynvpn.de>
References:  <20200703172503.5b739102@thor.intern.walstatt.dynvpn.de>

index | next in thread | previous in thread | raw e-mail

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Am Fri, 3 Jul 2020 17:24:36 +0200
"O. Hartmann" <ohartmann@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


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

iHUEARYIAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCXv9ROQAKCRA4N1ZZPba5
R60kAP96WOy8BgRaxwC4BMeyGslfu47334Xkf7z9g13MXkIelwD9EcaCwbcSMioa
atWxipkYdYGVmxPFTscaPrqygGEgZAE=
=sTk9
-----END PGP SIGNATURE-----

help

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