Skip to content

Instantly share code, notes, and snippets.

@leepro
Created October 26, 2017 02:30
Show Gist options
  • Save leepro/4aa3dc8ff5a52ae9f802910b92b07012 to your computer and use it in GitHub Desktop.
Save leepro/4aa3dc8ff5a52ae9f802910b92b07012 to your computer and use it in GitHub Desktop.
#!/bin/bash
rm -f ./tmp
while read line; do echo $line | md5sum | awk '{print $1}' >> ./tmp; done < ./input.txt
paste ./tmp ./test | sort --parallel=8 | uniq > ./result.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment