I have solved the issue, solution is quite funny. I edited using VI instead of eclipse and magic it worked. I never expected to see this kind of bug.. huh that's life. I have even made hexdump to check any meta characters are being inserted by eclipse.. nothing.
I would like to know if anyone knows the reason of this