Cited from "Bioinformatics Data Skills Reproducible and Robust Research with Open Source Tools"
"The Unix program tee diverts a copy of your pipeline’s standard output stream to an intermediate file while still passing it through its standard output."
For example,
program1 input.txt | tee intermediate-file.txt | program2 > results.txt
No comments:
Post a Comment