Remix.run Logo
lloydatkinson 4 hours ago

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"...

em500 4 hours ago | parent | next [-]

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

4 hours ago | parent [-]
[deleted]
greazy 4 hours ago | parent | prev | next [-]

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

piacos_ 4 hours ago | parent | next [-]

it doesn't seem to be installed on my endeavouros laptop

4 hours ago | parent [-]
[deleted]
lloydatkinson 3 hours ago | parent | prev [-]

Debian.

comradesmith 4 hours ago | parent | prev [-]

You are fun.

lloydatkinson 3 hours ago | parent [-]

Are we really at the "redditor insult" type comments stage of HN now? There is nothing wrong with saying a piece of code is broken.

deciduously 2 hours ago | parent | next [-]

Broken seems a little hyperbolic, it has an implicit dependency on a standard POSIX tool.

lloydatkinson 2 hours ago | parent [-]

I suppose, but my Debian didn’t seem to ship with it.

3 hours ago | parent | prev [-]
[deleted]