Pergunta de entrevista da empresa Fundwave

Given a file, write shell script read and extract data from it.