Use sed instead of perl to do the text processing while printing values

Signed-off-by: Rohit Yadav <rohit.yadav@wingify.com>
Merge pull request #12 from bhaisaab/master

Use sed instead of perl