I am parsing many sentences in one file using: cat filename.txt | ./demo.sh > output.txt
Sometimes a sentence in there is not parsed and so there is no output and I need to be able to tell that that happened. So either I want to be able to print the sentence that was parsed before each parse or have some way to indicate that a sentence was not parsed in the file so I know the ordering.