I'm trying to write a script in bash that reads a file
file1 and writes to another file
file2 every 2 seconds, which is easy enough.
However, I want to write to
file2 on either a line by line basis or using delimiters.
File1 = Some text goes in here
I want to write to
file2 every 2 seconds the first word
Some, but only once, after 2 seconds the second word and so on until the end of