My apologies: > ... > foreach {f fb} [lsort $fileList] { > ... The correct patch is: ... foreach {f fb} [lsort -stride 2 $fileList] { ... (assuming it is correct to assume Tcl 8.6 to be the default build-dep). Stefan