Created
July 17, 2019 12:20
-
-
Save hrobeers/0c6258acff6fde651dbfaff3b3450147 to your computer and use it in GitHub Desktop.
Social media followers diff script
This file contains hidden or 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
#! /bin/bash | |
# Built and tested for instagram | |
cat followers.txt | grep -E '^\s*\S+\s*$' | uniq | sort > followers.sorted | |
cat following.txt | grep -E '^\s*\S+\s*$' | uniq | sort > following.sorted | |
diff followers.sorted following.sorted | grep '>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TODO: