Created
March 10, 2015 07:04
-
-
Save robinfang/1a63fcd3da30ae05974f to your computer and use it in GitHub Desktop.
对应数据集http://strict.dista.uninsubria.it/?p=364 将形如6018932 78569316,214680621,1780528处理成6018932,78569316\n6018932,214680621
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
| cat graph2009.txt |awk -F '[\t,]' '{for(i=2;i<=NF;i++)printf "%d,%d\n",$1,$i}' > g2009.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment