$
Aprender Manual de Linux
pt
XP:0
Missão 114Data Munging Boss
+500 XP

Boss Challenge 13: Data Pipeline Normalization

Iniciar terminal interativo para esta missão→Sem instalação necessária • Executado no navegador

Conceito e visão geral

ETL DATA INCIDENT: A legacy mainframe exported /home/learner/messy_data.csv using unconventional formatting: fields are separated by colons and rows end with semicolons (alice:dev:engineering;).

The analytics ingestion engine rejects this format. Transform the file into clean CSV format at /home/learner/clean_users.csv, containing only the user and department (fields 1 and 3) separated by commas (alice,engineering), with semicolons stripped.

Process /home/learner/messy_data.csv and write clean records into /home/learner/clean_users.csv formatted as name,dept without semicolons.

Referência de sintaxe de comandos

Command / SyntaxDescription
cat messy_data.csvView raw delimited data
awk / sed / cut / trFilter, translate delimiters, and cut fields
> clean_users.csvWrite normalized data to output file

Objetivos de verificação

  • ○
    Generate /home/learner/clean_users.csv with clean comma-separated name,dept records

Pronto para concluir a Missão 114?