perl -le '{s!(\S+)\s+(\S+)\s*([-+*/])!"$1$3$2"!ee&&redo}print' [download]
In reply to Re: Golf: RPN calculator by japhy in thread Golf: RPN calculator by Sprad