Re:Unix Shell Programming: The Next 50 Years [pdf]
by actinium226 on Friday June 04, 2021 @12:44PM
(#27395524)
I'm surprised you didn't mention math. It's astounding to me how fragile it is to add 2 and 2 in the shell. And forget about floating point numbers. Anytime I need basic math in the shell I reach for 'python -c'
[ Parent
| on HN ]
Re:Unix Shell Programming: The Next 50 Years [pdf]
by techbio on Friday June 04, 2021 @02:49PM
(#27397485)
It is often easier to reach for my calculator, calculator app, or the address bar, to do arithmetic, than:
echo "2 + 2" | bc -l