I have a program that writes to the standard output. It does not write all info at once, it does computation and then writes new bits. The output of the program is being stored in a file.
$ ./theprogram.sh > results.csv
While the script was running I copied
results.csv to peek at numbers.
After that, next copies of the file show no changes even though some records should be added there. What happened to the original file after I copied during writing? Are new records being discarded?