标签: tcl tar checksum
难以让这段代码生效:我有一个文件列表,我想将其存档为tar.gz文件,然后创建文件的校验和
set chan [open myfile.tar.gz w] zlib push gzip $chan tar::create $chan file1.txt file2.txt file3.txt -chan close $chan exec sha256sum myfile.tar.gz > newfile