GNU-compatible, BSD-licensed bc

Baptiste Daroussin bapt at FreeBSD.org
Tue Jan 8 07:56:40 UTC 2019


On Mon, Jan 07, 2019 at 01:10:34PM -0800, Conrad Meyer wrote:
> On Mon, Jan 7, 2019 at 11:46 AM Gavin Howard <gavin.d.howard at gmail.com> wrote:
> >
> >  On Mon, Jan 7, 2019 at 11:06 AM Dimitry Andric <dim at freebsd.org> wrote:
> > > That said, are you aware of any great differences between your bc and
> > > the one originally from OpenBSD?
> >
> > Yes. See below for the important one.
> >
> > The non-important ones include the fact that I support *every* GNU
> > extension. That includes array references, void functions, the "halt"
> > keyword, etc.
> >
> >...
> >
> > My bc handles the Linux timeconst.bc script with aplomb from 0 to (at
> > least) 1000. It is part of my test suite, actually.
> >
> > You can try it out by running the following command after building my
> > bc (where BC_ROOT is the root directory of my bc):
> >
> > $ "$BC_ROOT/tests/bc/timeconst.sh" /location/of/timeconst.bc
> >
> > It won't have any output besides "Running timeconst.bc..." unless it
> > didn't pass the test.
> >
> > Also, this bc builds out of the box on FreeBSD. I have already made
> > sure of that. Just use:
> >
> > $ cd "$BC_ROOT"
> > $ ./configure.sh -O3
> > $ make
> 
> Gavin,
> 
> This all sounds great to me.  Consider me on-board with the idea.
> 
Nice, Count me on board as well :)

Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20190108/4d75e977/attachment.sig>


More information about the freebsd-arch mailing list