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.
81 lines
891 B
Plaintext
81 lines
891 B
Plaintext
0 1(pR
|
|
1 1(pR
|
|
2 1(pR
|
|
_1 1(pR
|
|
_1 0(pR
|
|
_1 _1(pR
|
|
_1 _2(pR
|
|
0 1{pR
|
|
1 1{pR
|
|
2 1{pR
|
|
_1 1{pR
|
|
_1 0{pR
|
|
_1 _1{pR
|
|
_1 _2{pR
|
|
0 1)pR
|
|
1 1)pR
|
|
2 1)pR
|
|
_1 1)pR
|
|
_1 0)pR
|
|
_1 _1)pR
|
|
_1 _2)pR
|
|
0 1}pR
|
|
1 1}pR
|
|
2 1}pR
|
|
_1 1}pR
|
|
_1 0}pR
|
|
_1 _1}pR
|
|
_1 _2}pR
|
|
0 0GpR
|
|
0 1GpR
|
|
1 0GpR
|
|
_1 _1GpR
|
|
0 _1GpR
|
|
_1 0GpR
|
|
1 1GpR
|
|
238 2GpR
|
|
0NpR
|
|
1NpR
|
|
_1NpR
|
|
2398NpR
|
|
_2983.2389NpR
|
|
0 0MpR
|
|
1 0MpR
|
|
0 1MpR
|
|
1 1MpR
|
|
128973240 0MpR
|
|
0 2893712MpR
|
|
1982 28937MpR
|
|
_2938 0MpR
|
|
0 _1023.298037MpR
|
|
0.283917 0MpR
|
|
2389 _1208.28937MpR
|
|
0 289.289372MpR
|
|
_298.29387 0MpR
|
|
_2983.28973 82937MpR
|
|
0 _2938.320837MpR
|
|
_2089.2308 0MpR
|
|
_0.2893 _2938.28973MpR
|
|
0.00000 1892MpR
|
|
1289.023 .0000MpR
|
|
0 0mpR
|
|
1 0mpR
|
|
0 1mpR
|
|
1 1mpR
|
|
128973240 0mpR
|
|
0 2893712mpR
|
|
1982 28937mpR
|
|
_2938 0mpR
|
|
0 _1023.298037mpR
|
|
0.283917 0mpR
|
|
2389 _1208.28937mpR
|
|
0 289.289372mpR
|
|
_298.29387 0mpR
|
|
_2983.28973 82937mpR
|
|
0 _2938.320837mpR
|
|
_2089.2308 0mpR
|
|
_0.2893 _2938.28973mpR
|
|
0.00000 1892mpR
|
|
1289.023 .0000mpR
|
|
0.0000 .00000mpR
|