So, I am logging some debugging information by sending it to stdout, after which I am ready for the line. At some point, logging is done and the application expects material, but grep output is truncated in the middle of the line. Thus, it corresponded to a string, but did not output the entire string.
Is there any way to get grep to reset?
Thank.
UPDATE: It seems that buffering using a string will help.
source
share