Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dyingkneepad
on Oct 20, 2021
|
parent
|
context
|
favorite
| on:
s/bash/zsh/g
Or pipe everything to bc -l, then print the result with /usr/bin/printf
nixpulvis
on Oct 20, 2021
[–]
TIL: bc has a (poorly labeled) -l flag which also sets the scale to 20 for you.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: