Bem, foi muita pesquisa antes de publicar a pergunta, mas logo depois eu li algo que se referia ao gawk. Após a instalação, o script funcionou perfeitamente. Eu recomendo altamente este método. Muito rápido.
Obrigado ao Takkat por me mostrar a maneira correta de postar código.