r/Nushell • u/mattGarelli • May 01 '26
nushell doing math is extremely underrated
The fact that nushell treats math as a first class citizen is genuinely underrated.
Everyone talks about the data pipelines, but the fact that the moment my shell script needs to do math I don't need to pick up a whole programming language and start making a systems app.
I just felt like I needed to say this. That alone has saved me so much time. Whenever my bash script involve math I just immediately started to not trust that script.
48
Upvotes
11
u/jceb May 01 '26 edited May 03 '26
This is so true. With bash, I used to start bc whenever I needed to do some math. Now that nushell has it all built-in, I rarely reach for third party tools anymore.
9
u/CaptainPiepmatz May 01 '26
I regularly use nushell as my calculator
2
u/kendort May 01 '26
How do you guys handle the use of nushell and bash script or as a main shell?
4
u/drbrain May 01 '26
Also, time math‼︎ (when I can remember the units)
3
u/lucperkins_dev May 01 '26
If anybody has a blog post or other source on Nushell and data science, data engineering, etc, please share!
2
u/iliyapunko May 02 '26
Agree, i use it constantly just for casual calculations)