[TUHS] interesting case of not getting the point: dc on a mac

Larry McVoy lm at mcvoy.com
Mon Jan 23 13:11:11 AEST 2023


On Mon, Jan 23, 2023 at 02:07:14PM +1100, Dave Horsfall wrote:
> On Sun, 22 Jan 2023, Steve Nickolas wrote:
> 
> > I think there was one particular dc clone...guy whose name started with 
> > a G? and his version did that.
> 
> On my ancient MacBook Pro (13-inch, mid 2010, High Sierra 10.13.6):
> 
>     mackie:~ dave$ dc
>     (^D)
>     mackie:~ dave$ dc -V
>     dc (GNU bc 1.06) 1.3
> 
> On my ancient FreeBSD server:
> 
>     aneurin% dc
>     (^D)
>     aneurin% dc -V
>     dc (BSD bc) 1.3-FreeBSD
> 
> Nil prompt in both cases.
> 
> > Most Linux versions use GNU's which Does The Right Thing???????.

I know this is about dc (which I think is under bc or is it the other way
around?) but to pick on GNU:

slovax ~ 'bc'
bc 1.06.95
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'. 
slovax ~ alias bc
alias bc='bc -ql'

because, well, the same reason I run vi in terse mode.


More information about the TUHS mailing list