freebsd-dev/contrib/bc/tests/dc/errors/09.txt
Stefan Eßer 3aa99676b4 Update to version 3.1.1
This version fixes a regression with regard to tradtional behavior of the
non-standard FreeBSD option "-e". In the previous version "-e quit" caused
bc to exit before any computations had been performed, since all -e option
parameters were concatenated and parsed as a whole, with quit causing the
program to exit as soon as it was parsed. This version parses and executes
commands passed with -e one by one and only exits after all prior commands
have been executed.

This commit is not a SVN merge, since the vendor import had been performed
after the import to contrib. Instead the contents of contrib/bc has been
removed and the new version is copied over unchanged from vendor/bc/dist.
2020-07-07 07:51:09 +00:00

23 lines
712 B
Plaintext

#! /dc
0sm[Nx]0sm[]zsWx[li]zsGx[Nx]0sm[]zsdc
0sm[Nx]0sm[]zsWx[li]zsGx[Nx]0sm[]zsW#! /bin/dc
0sm[Nx]0s_[]zsWx[li]zs^x[lili100>Nx]0sm[]zsWx[liNx]zsxx[li;rlilix]
x[liN]zsWx[liNx]zsxx[li;rlilix]
x[liNzsxx#! /bin/dc
*sm[Nx]0sm[]zsWx[li]zsGx[Nx]0sm[]zsdc
0sm[Nx]0sm[]zsWx[li]zsGx[Nx]0sm[]x]zsxx#! /bin/dc
*sm[Nx]0sm[]zsWx[li]zsGx[Nx]0sm[]zsdc
0sm[Nx]0sm[]zsWx[li]zsGx[Nx]0sm[]zsW#! /bipR
00?00pR0.0pR
.0000p0000000000000;0000000000.0pR
.0000p00.000000;00000500000.0pR
.0000p0000000000?00pR0.0pR
.0000p0000000000000;0000000000.0pR
.0000p00.000000;00000500000.0pR
.0000p00000000000000000000000000000000000000000d000.0pR
.0000p000000000000000000000000R
.0000p02730pR
00000pR0.0pR
.0000p0000000000000000000000R
.0000p00pR