Created
March 4, 2018 11:28
-
-
Save elanozturk/58a200407f4cc35c5d78ae7963507257 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sort *.txt | uniq > all_acc.txt | |
sort *.txt | uniq -u > all_acc.txt | |
sort *.txt | sort -u > all_acc.txt | |
sort *.txt | uniq -u > all_acc.txt | awk '!a[$0]++' all_acc.txt | |
sort -u all_acc.txt > all_accounts.txt | |
sort *.txt > all_acc.txt | |
perl -ne 'print unless $dup{$_}++;' all_acc.txt all_accounts.txt | |
perl -ne 'print unless $dup{$_}++;' all_acc.txt > all_accounts.txt | |
perl -ne 'print unless $dup{$_}++;' all_accounts.txt > all.txt | |
<input nl | sort -k 2 -u | sort -k 1n | cut -f 2- >output | |
<all_acc.txt nl | sort -k 2 -u | sort -k 1n | cut -f 2- >output.txt | |
awk '!seen[$0]++' all_acc.txt >all.txt | |
awk '!seen[$0]++' all_acc.txt > all.txt | |
sort all_acc.txt | uniq > all.txt | |
awk '{sub(/[[:space:]]+$/,"");} !A[$0]++' all_acc.txt | |
awk '{sub(/[[:space:]]+$/,"");} !A[$0]++' all_acc.txt > all.txt | |
sort all.txt | uniq |sponge all.txt | |
sort *.txt > all_acc.txt | |
sort all_acc.txt | uniq > all.txt | |
split -l 120 all.txt | |
sort -u *.txt | |
sort -u *.txt > all_accounts.txt | |
split -l 140 all.txt | |
sort *.txt | uniq > all.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment