I tried printing only filename from the path using
file tail command, but does not print the filename.
foreach fileName [glob -directory $basedir *.sv] {
puts $fileName
set F [file tail $filename]
puts "FILE $F\e"
}
Result...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.