shithub: kwa

ref: f35a20e9357512dd66f8ff6c4c6b593b681dd276
dir: /test/t.cond/

View raw version
{ 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) }