aboutsummaryrefslogtreecommitdiff

xsc3

xsc3 (eXtremelySimpleCalculator 3): the easiest way to calculate stuff in the terminal

syntax: xsc <num1> <(+|-|x|/|%|^)> <num2> or xsc r <num>

pros: supports floating point number operations.. or something


AUR

xsc3 is now available on the Arch User Repository,

install it with your favourite AUR helper:

  • yay : yay -S xsc
  • paru : paru -S xsc
  • trizen : trizen -S xsc
  • pamac : pamac build xsc
  • aurman : aurman -S xsc

dependencies

  • figlet : paru -S figlet
  • lolcat : paru -S lolcat

manual installation one-liner

downloads dependencies, clones repo and compiles xsc3 ;

paru -S figlet lolcat gcc && git clone https://github.com/jstmaxlol/xsc && cd ./xsc && g++ -o xsc xsc.cpp -O2 -std=c++23

mv ./xsc /usr/bin/xsc if didn't know, adding a binary to PATH makes it so that you do not have to find yourself in the installation path of the binary to execute it!


usage

uhh.. xsc h and stfu