Re:Show HN: Shellmath: Floating-point arithmetic directly in...
by clarity20 on Thursday February 25, 2021 @10:18AM
(#26263629)
I'm afraid I don't have the wherewithal to do this in the Bourne shell! An explicit call stack using those globals is a neat idea. Generally the [[ =~ ]] construct is my go-to for string parsing. Can you do everything you need with parameter expansion and string globbing alone (without turning on "extglob" swince that would be cheating)? Finally, is your encoder/decoder posted online?
[ Parent
| on HN ]
There are no comments on this comment yet.