Script for Sarvesh to parse duplicate lines in output