logoalt Hacker News

lloydatkinsontoday at 10:13 AM3 repliesview on HN

P ./cool.sh: line 31: bc: command not found ./cool.sh: line 34: bc: command not found ./cool.sh: line 37: bc: command not found E ./cool.sh: line 31: bc: command not found ./cool.sh: line 34: bc: command not found ./cool.sh: line 37: bc: command not found

Very wow. Shame they assumed everyone has "bc"...


Replies

em500today at 10:25 AM

Why would that be a shame? "bc" is a mandatory POSIX command, while /bin/bash isn't (/bin/sh is the standard).

show 1 reply
greazytoday at 10:16 AM

Which distro are you running? Perchance did you run the shell script in alpine Linux (docker)?

show 2 replies
comradesmithtoday at 10:29 AM

You are fun.

show 1 reply