4 ms·
I don't know which system you're on, but GNU bc does not support this flag. On the other hand, bash and zsh support this: bc -l <<<'(2/3) * 3 - 2' edit: ne
by 5e92cb50239222b 3y ago
I don't know which system you're on, but GNU bc does not support this flag.
On the other hand, bash and zsh support this:
bc -l <<<'(2/3) * 3 - 2'
edit: neither does busybox.
- knodi123 3y agoHuh. I assumed I was on standard versions of these kind of really old utilities. But you're on to something: bc -v bc 4.0.2 Copyright (c) 2018-2021 Gavin D. Howard and contributors Report bugs at: https://git.yzena.com/gavin/bc