Bash - tee save data in middle of pipeline

02 Jul 2020

tee (Parker, Stallman, and MacKenzie 2012) to save the result of csvcut in the middle of the pipeline:

$ < data/tips.csv csvcut -c bill,tip | tee data/bills.csv | head -n 3 | csvlook
[ bash  ]