From owner-freebsd-arch@freebsd.org Mon Jan 7 22:25:48 2019 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3BA1614A18DA for ; Mon, 7 Jan 2019 22:25:48 +0000 (UTC) (envelope-from AWilcox@Wilcox-Tech.com) Received: from mail.wilcox-tech.com (mail.wilcox-tech.com [45.32.83.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.wilcox-tech.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 69124842E5 for ; Mon, 7 Jan 2019 22:25:37 +0000 (UTC) (envelope-from AWilcox@Wilcox-Tech.com) Received: (qmail 6340 invoked from network); 7 Jan 2019 22:18:52 -0000 Received: from localhost (HELO ?IPv6:2600:1702:2a80:1b90::41?) (awilcox@wilcox-tech.com@127.0.0.1) by localhost with ESMTPA; 7 Jan 2019 22:18:52 -0000 Subject: Re: GNU-compatible, BSD-licensed bc To: freebsd-arch@freebsd.org References: From: "A. Wilcox" Openpgp: preference=signencrypt Message-ID: <9e103bf2-297d-9e00-f1f4-486894c9d794@Wilcox-Tech.com> Date: Mon, 7 Jan 2019 16:20:41 -0600 User-Agent: Mozilla/5.0 (X11; Linux ppc64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3T20LCifDkSWP6rToRg6NVvJaty1jx7Fq" X-Rspamd-Queue-Id: 69124842E5 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dmarc=pass (policy=none) header.from=Wilcox-Tech.com; spf=pass (mx1.freebsd.org: domain of AWilcox@Wilcox-Tech.com designates 45.32.83.9 as permitted sender) smtp.mailfrom=AWilcox@Wilcox-Tech.com X-Spamd-Result: default: False [-5.55 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.992,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(0.25)[asn: 20473(1.34), country: US(-0.08)]; MX_GOOD(-0.01)[mail.Wilcox-Tech.com,tarbaby.junkemailfilter.com,mail.Wilcox-Tech.com,tarbaby.junkemailfilter.com,mail.Wilcox-Tech.com,tarbaby.junkemailfilter.com,mail.Wilcox-Tech.com,tarbaby.junkemailfilter.com,mail.Wilcox-Tech.com,tarbaby.junkemailfilter.com,mail.Wilcox-Tech.com,tarbaby.junkemailfilter.com,mail.Wilcox-Tech.com,tarbaby.junkemailfilter.com,mail.Wilcox-Tech.com,tarbaby.junkemailfilter.com]; DMARC_POLICY_ALLOW(-0.50)[Wilcox-Tech.com,none]; NEURAL_HAM_SHORT(-0.90)[-0.895,0]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+]; ASN(0.00)[asn:20473, ipnet:45.32.64.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jan 2019 22:25:48 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --3T20LCifDkSWP6rToRg6NVvJaty1jx7Fq Content-Type: multipart/mixed; boundary="FNTGHAsfhZCyEbsflXUsSTd1HXE3P2LXb"; protected-headers="v1" From: "A. Wilcox" To: freebsd-arch@freebsd.org Message-ID: <9e103bf2-297d-9e00-f1f4-486894c9d794@Wilcox-Tech.com> Subject: Re: GNU-compatible, BSD-licensed bc References: In-Reply-To: --FNTGHAsfhZCyEbsflXUsSTd1HXE3P2LXb Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 01/07/19 15:10, Conrad Meyer wrote: > On Mon, Jan 7, 2019 at 11:46 AM Gavin Howard = wrote: >> 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 >=20 > Gavin, >=20 > This all sounds great to me. Consider me on-board with the idea. >=20 > Thanks, > Conrad If it means anything, we're using it as our sole bc(1) implementation in Ad=C3=A9lie Linux. No issues or complaints from here; it works flawlessl= y. Best, --arw --=20 A. Wilcox (awilfox) Open-source programmer (C, C++, more) https://ko-fi.com/K3K8MQZJ --FNTGHAsfhZCyEbsflXUsSTd1HXE3P2LXb-- --3T20LCifDkSWP6rToRg6NVvJaty1jx7Fq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjNyWOYPU1SaTSMHHyynLUZIrnRQFAlwz0LkACgkQyynLUZIr nRT08A/+KCJrw6Bv3gCxnt2jfPsqD1WyLUUa42OblGphmX6Hr5EfemqScLYM3eFw vSPRfNhw4wQ9yMAGwXI3WXvKReORqPfBQoMAergFOIGc5pCLUXaFolwZUyvQHr9F zYfyAD+a8kGadaG3KB53hNXQA5KxxdvLrAs6Q67BpXhFJAjAxo/U/bOrfTd8RUS5 Rh8qu4S/XrkVd2+iHkYgjyJ84etTlP2fM813jUMsp2v5StyPkNYin6WrFhNVHmXz OxKQzNMRqpTorx+pIxjshXr5IHBOEyEaTR9h75Vs9qx9D82Yo+9pD5GptXKUb+bg j+ueA0+san+BRhcMULq91FJECISaxHvDeHEwK8NVtRgHX8uf+y0PIkFWdzUEeqHA gRb5bQZWltIfogC7vPI9nBbmalBnJQf8HdXJ6MDuM7rMwO6dkuBBY0SFMVrbfFbL BIXo0Q0BvI6e1LO0FBqO70bkBd90IFKpx1sm5MW6R5NqnsSNt+/XiyeGvKEQwxH3 3zbucaAMRrBBfWzaZhvCXzdnzcYMQiFXtc2x2v2fF5IlVNN019ZDNmbJBnHPFZQ8 Gg1C8gdIEdeRCxSERiq3Ttsg757v8q4u90rYuUGXoWF7lMI5uuEkmEcHeFSuALkt TfeGhkW6w+5si1QSPqmIUlz+S4Oibs761rQprJQWvAKLn1NIufo= =Vf9R -----END PGP SIGNATURE----- --3T20LCifDkSWP6rToRg6NVvJaty1jx7Fq--