Posted to tcl by auriocus at Fri May 19 20:54:09 GMT 2017view raw
- test) 55 % ls
- /Users/chris/Sources/test:
- a b
- (test) 56 % foreach f [glob *] { puts [file exists $f] }
- 1
- 1
- (test) 57 % touch ~mist
- (test) 58 % foreach f [glob *] { puts [file exists $f] }
- 1
- 1
- 0
- (test) 59 %