Replaced the language of the script, from perl to awk

Now it's a lot better performance-wise, but it will not try
to be smart putting a good separation between the numbers and
input since there's no way to tell how many more lines we're
getting. The other perl script did not work well with stream,
this does.