In Tcl 8.5, the [expr] command has a variadic '''min()''' function. % expr min(5,1,4,2,3) 1