You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I frequently find myself piping expressions from terminal-based text editors like Helix into qalc for computation. I've looked, but I haven't yet found any way to make qalc accept input from standard input without printing the > prompt for interactive mode.
Currently, I have an alias that uses xargs to enter my expression as an argument to qalc -t. I was wondering if there could be a new CLI option for returning the result of an expression piped into stdin.
Is there already a way to do this? If not, I'm open to trying it and making a PR if this is wanted.
The text was updated successfully, but these errors were encountered:
I frequently find myself piping expressions from terminal-based text editors like Helix into qalc for computation. I've looked, but I haven't yet found any way to make qalc accept input from standard input without printing the
>
prompt for interactive mode.Currently, I have an alias that uses xargs to enter my expression as an argument to
qalc -t
. I was wondering if there could be a new CLI option for returning the result of an expression piped into stdin.Is there already a way to do this? If not, I'm open to trying it and making a PR if this is wanted.
The text was updated successfully, but these errors were encountered: