> # purge fetch-crl cache > delete [ glob ${prefix}/var/cache/fetch-crl/*.state ] You like want to foreach the glob result (or map if its defined). foreach {filename} [ glob ${prefix}/var/cache/fetch-crl/*.state ] { delete $filename }