Reduce fractions FIXED by jonathan camacho

#!perl -plaF/ 
sub g{($a,$b)=@_;$a?g($b%$a,$a):$b}$_=$F[0]/g(@F)."/".$F[1]/g(@F)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page