bnwr on #suckless irc suggested two more variants:

One, without bc forks -- http://vpaste.net/E91PL
And another one as recursive function -- http://vpaste.net/tgCMz

Reply via email to