Posted to tcl by dbohdan at Thu Jan 09 12:33:05 GMT 2020view raw

  1. foreach file $files {
  2. lib::pipe x $file {
  3. lib::file::read $x
  4. } {
  5. lib::checksum::parse::many $x
  6. } {
  7. lmap {_ path _} $x {
  8. lindex [file dirname $file]/$path
  9. }
  10. } -filter {
  11. ![file exists $x]
  12. } -each {
  13. puts $x
  14. }
  15. }
  16.