On 02.09.2017 07:29, Quiroz, Hector wrote:
Thanks for your reply. I will write it in c then I will ask again. Thanks
You would be doing something pretty silly: taking a working Perl script which performs adequately and rewriting it in C just so that it can potentially be included in some project that requires everything to be written in C. It's coding to solve a political/ideological issue, not a technical one.