News for hackers. Stuff that matters.
Re:Qalculate – The Ultimate Desktop Calculator by nuxi on Wednesday August 09, 2023 @03:16PM (#37067229)
For one-off simple calculations I just use awk, with this handy function in my .bashrc:

  function calc() { awk "BEGIN{print $*}"; }
  
  # usage in bash
  $ calc 'sqrt(25) + 2**3 - 17.17'
  -4.17

There are no comments on this comment yet.