ref: ba4a1c07f1bc7622f8a3dcd4f2d383f4ec70fc1c dir: /test/t.cond/
{ print (substr($2,1,1) > substr($2,2,1)) ? $1 : $2 } { x = substr($1, 1, 1); y = substr($1, 2, 1); z = substr($1, 3, 1) print (x > y ? (x > z ? x : z) : y > z ? y : z) }