You are not logged in.

#1 2024-07-04 20:57:28

ki9
Member
From: Colorado, USA
Registered: 2023-07-09
Posts: 10
Website

[SOLVED] bc returns "bug-clinic: command not found"

Trying to do some math and I don't know what "bug-clinic" is. 

$ which bc
/sbin/bc
$ echo "10 + 5" | bc
-bash: bug-clinic: command not found

Tried reinstalling with pacman to no avail.

Last edited by ki9 (2024-07-04 21:25:00)

Offline

#2 2024-07-04 21:03:36

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] bc returns "bug-clinic: command not found"

And what is /sbin/bc?  And why would which return that as a result??

stat /sbin/bc
stat /sbin
pacman -Qo /sbin/bc

EDIT: actually, there's a reason I avoid the wicked which, more relevant than the above:

type bc

Last edited by Trilby (2024-07-04 21:05:46)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2024-07-04 21:24:05

ki9
Member
From: Colorado, USA
Registered: 2023-07-09
Posts: 10
Website

Re: [SOLVED] bc returns "bug-clinic: command not found"

Thanks, got it! 

type bc
bc is aliased to `bug-clinic'

Just needed to clean up these old aliases I was using for some old NodeJS tutorials:

# Learn you node
alias kok="kick-off-koa"
alias fpjs="functional-javascript"
alias sa="stream-adventure"
alias bc="bug-clinic"
alias ct6="count-to-6"
alias ba="browserify-adventure"
alias iwgl="introtowebgl"
alias lld="lololodash"
alias lmu="levelmeup"
alias mmh="makemehapi"

Offline

Board footer

Powered by FluxBB