I have a set of commands chained with pipes like this:
cat very_big_data.csv | awk -f ../bin/repair_preproc.awk | tr -d "\n" | tr "\007" "\n" | sed 's/> *</></g' > output.csv
The CSV file to be processen is quite big (10-20GB), so I would like to keep it in one stream.
I yould need to be able to catch errors potentially raising in the chained commands, for example I would need to be sure if the awk, the tr and the sed commands finished ALL successfully.