Cancel fractions by eban

BEGIN{FS=OFS="/"}a=$1{for(b=$2;a=b%(b=a););if(2>$2/=b)NF--}$1/=b

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

download

return to the top page