The one in /usr/bin/bc comes with macOS. The one in /opt/local/bin/bc is from 
MacPorts.

If you type the full path, that's what you get. If you just type bc, you can 
find out which you get by typing

which bc

So find out which one you have the problem with.

The MacPorts version uses MacPorts supplied libraries (other than libSystem). 
The macOS version uses macOS supplied libraries. (ultimately from the same open 
source projects, but potentially different versions and build options, so not 
identical code)

A problem with /usr/bin/bc is NOT a MacPorts problem.

> On Aug 11, 2024, at 00:38, matt henschel <[email protected]> wrote:
> 
> after random update
> 
> in /opt instead of /usr
> 
> 
> % bc --version
> 
> bc 1.07.1
> 
> Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2017
> Free Software Foundation, Inc.
> 
> 
> On Sat, Aug 10, 2024 at 11:37 PM matt henschel <[email protected]> wrote:
>> 
>> this is the one that got replaced
>> 
>> % /usr/bin/bc --version
>> 
>> bc 6.5.0
>> 
>> Copyright (c) 2018-2023 Gavin D. Howard and contributors
>> 
>> Report bugs at: https://git.gavinhoward.com/gavin/bc
>> 
>> 
>> This is free software with ABSOLUTELY NO WARRANTY
>> 
>> On Sat, Aug 10, 2024 at 11:34 PM matt henschel <[email protected]> 
>> wrote:
>>> 
>>> fsf version now.  *shrug*
>>> 
>>> On Sat, Aug 10, 2024 at 11:33 PM matt henschel <[email protected]> 
>>> wrote:
>>>> 
>>>> no idea.  "port install bc" threw another version on there and it's a
>>>> diff one but works
>>>> 
>>>> On Sat, Aug 10, 2024 at 11:31 PM matt henschel <[email protected]> 
>>>> wrote:
>>>>> 
>>>>> i think it's recent.  14.5 sonoma
>>>>> 
>>>>> 
>>>>> port installed says nothing about bc
>>>>> 
>>>>> sw_vers is a new one
>>>>> 
>>>>> On Sat, Aug 10, 2024 at 7:07 PM matt henschel <[email protected]> 
>>>>> wrote:
>>>>>> 
>>>>>> It just closes with return 0 over here.  I don't know if it always did
>>>>>> that or not.  does it in 'terminal' and in 'xterm'.
>>>>>> 
>>>>>> Moving the window is fine.
>>>>>> 
>>>>>> Just me?
> 

Reply via email to