mirror of
https://github.com/opnsense/src.git
synced 2026-02-26 03:13:02 -05:00
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.
32 lines
226 B
Text
32 lines
226 B
Text
p
|
|
P
|
|
x
|
|
R
|
|
d
|
|
r
|
|
1r
|
|
b
|
|
4 100000|
|
|
_
|
|
]
|
|
zp198202389.289374pzp[He World!]xSzpzXfrfxzpfR
|
|
[hello]k
|
|
3 2 0|
|
|
3 0 0|
|
|
3.2 3 1|
|
|
3 3.2 1|
|
|
2 10 34.2|
|
|
2 _10 23|
|
|
3 0~
|
|
0 _251^pR
|
|
.
|
|
@
|
|
0 0< $
|
|
0 0> s e %
|
|
[string]b
|
|
[s][s]+
|
|
[s][s]@
|
|
[s][s]v
|
|
0si 0 1 >i
|
|
?
|
|
?
|