Skip to content

Instantly share code, notes, and snippets.

@wellbercabral
Created May 17, 2016 00:00
Show Gist options
  • Save wellbercabral/aaa6d3254080174e02221a2b0403fae2 to your computer and use it in GitHub Desktop.
Save wellbercabral/aaa6d3254080174e02221a2b0403fae2 to your computer and use it in GitHub Desktop.
#!/bin/bash
cat /dev/null > saida.txt
while read padrao
do
grep "\"$padrao\"" filiados.csv >> saida.txt
done < pessoas.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment