Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 2020 17:35:20 +0100
From:      Jessica Clarke <jrtc27@freebsd.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        =?utf-8?Q?Stefan_E=C3=9Fer?= <se@FreeBSD.org>, src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r363091 - in head/contrib/bc: . include manuals src tests tests/bc
Message-ID:  <B5CD5239-007A-4113-9C85-A30654562D99@freebsd.org>
In-Reply-To: <20200730163154.a4d7672xsugkhmxq@ivaldir.net>
References:  <202007110733.06B7XJrp033777@repo.freebsd.org> <20200730162009.rnjs6l5rjqsoiqpq@ivaldir.net> <DECD68BB-F720-4CA1-A774-31A4307B24B9@freebsd.org> <20200730163154.a4d7672xsugkhmxq@ivaldir.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30 Jul 2020, at 17:31, Baptiste Daroussin <bapt@FreeBSD.org> wrote:
> On Thu, Jul 30, 2020 at 05:28:19PM +0100, Jessica Clarke wrote:
>> On 30 Jul 2020, at 17:20, Baptiste Daroussin <bapt@FreeBSD.org> =
wrote:
>>> On Sat, Jul 11, 2020 at 07:33:19AM +0000, Stefan E=C3=9Fer wrote:
>>>> Author: se
>>>> Date: Sat Jul 11 07:33:18 2020
>>>> New Revision: 363091
>>>> URL: https://svnweb.freebsd.org/changeset/base/363091
>>>>=20
>>>> Log:
>>>> Update to version 3.1.3
>>>>=20
>>> Jumping on that commit, since the switch from our previous bc.
>>>=20
>>> The output of the interactive bc has changed, the previous version =
had a clean
>>> UI, the new version "pollutes" the output with plenty of lines about =
the
>>> copyright:
>>>=20
>>> =3D=3D=3D=3D
>>> Copyright (c) 2018-2020 Gavin D. Howard and contributors
>>> Report bugs at: https://git.yzena.com/gavin/bc
>>>=20
>>> This is free software with ABSOLUTELY NO WARRANTY.
>>> =3D=3D=3D=3D
>>>=20
>>> Imagine if all programs where doing that, it would be painful, do =
you think
>>> upstream can be convinced to remove those lines?
>>>=20
>>> I no the GNU version also has the same polluted output which was one =
of the
>>> reason I was happy with out previous version of bc.
>>=20
>> By default both will print such a banner if and only if being called
>> interactively. You can disable the banner explicitly with -q/--quiet
>> for both GNU bc and this bc. I agree it's a bit noisy and would be
>> nicer to not have that printed, but it's not without precedent for
>> REPL-like things.
>=20
> Yes it is not without precedent for REPL-like things, still I dislike =
this and
> would be happy to get bc interactive be as nice as the previous one we =
had :)
>=20
> If not I will deal with it and just yell internally each time I run it =
:D

`alias bc=3D'bc -q'` / `alias bc bc -q` and preserve your inner zen? :)

Jess




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B5CD5239-007A-4113-9C85-A30654562D99>