I\'m scraping data from the web, and I have several processes of my scraper running in parallel.
I want the output of each of these processes to end up in the same f
You'll need to ensure that you're writing whole lines in single write operations (so if you're using some form of stdio, you'll need to set it for line buffering for at least the length of the longest line that you can output.) Since the shell uses O_APPEND for the >> redirection then all your writes will then automatically append to the file with no further action on your part.