Created
July 6, 2018 16:01
-
-
Save karlarao/e476e33853ce103ddfee0291f5662ba1 to your computer and use it in GitHub Desktop.
diff of two arrays in bash
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
ls -ltr | grep planx | awk -F '_' '{print $2}' > planx_out.txt | |
ls -ltr | grep sqld360 | awk -F '_' '{print $3}' > sqld360_out.txt | |
cat sqld360_out.txt planx_out.txt | sort | uniq -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment