Last active
August 29, 2015 14:15
-
-
Save albertmeronyo/c67c27b19f20d22400b1 to your computer and use it in GitHub Desktop.
CLOD clusters
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
# Matching namespace index | |
for e in `cat nsCounts/402ecd52d22d648c48e28bfc59901b78 | cut -f1`; do grep -n -e "^$e$" totalNamespaces; done | cut -d":" -f1 | |
# All documents namespace indexes | |
for d in `ls nsCounts`; do NS=$d; for e in `cat nsCounts/$d | cut -f1`; do NS=$NS,`grep -n -e "^$e$" totalNamespaces | cut -d":" -f1`; done; echo $NS >> nsPointers; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment