Skip to content

Instantly share code, notes, and snippets.

@jccorrea
Created April 17, 2017 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jccorrea/611b90c8859ae0b1a19336b88bd3be4c to your computer and use it in GitHub Desktop.
Save jccorrea/611b90c8859ae0b1a19336b88bd3be4c to your computer and use it in GitHub Desktop.
sed - limpar arquivo a partir da linha x com conteúdo y
cat teste.csv | sed -e '2,${ /^| x.ddd /d }' > testeclean.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment