I have a 2 column file that come from http://snap.stanford.edu/data/cit-HepPh.html. The file I downloaded is cit-HepPh.txt.gz. I delete all characters that are not numbers (the first 4 lines of the file), then I change the tab space between numbers with a simple space with:
awk '{print $1,$2}' Cit-HepPh.txt > 1
Then I tried to reverse the elements in the file and write them in another file. I used
awk '{print $2,$1}' 1 > 2
but what I obtain is something like
2
1
3
2
5
4
...
Instead of something like
2 1
3 2
5 4
...
why?
I did
head -2 Cit-HepPh.txt | od -a
and I have in return
0000000 9 9 0 7 2 3 3 ht 9 3 0 1 2 5 3 cr
0000020 nl 9 9 0 7 2 3 3 ht 9 5 0 4 3 0 4
0000040 cr nl
0000042
what does it means?