Thisisatestline Containsvalues TestingTestinginProgress Currently I am reading a.txt, store those data in an array. Then creating b.txt and replacing NULL and spaces from a.txt. Finally replacing a.txt by b.txt using mv command. Can you please provide best method to handle this?