Are you looking at these files with a monospace font, with an environment that's wide enough to keep the data from wrapping around?
Here's what I get on my system when I take care of those details, with no special handling or scripts or anything:
Code:
wally:~/monday/2$ cat /proc/net/tcp
sl local_address rem_address st tx_queue rx_queue tr tm->when retrnsmt uid timeout inode
0: 00000000:1770 00000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 9356 1 f6276d80 750 0 0 2 -1
1: 00000000:0071 00000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 7763 1 f6276900 750 0 0 2 -1
2: 0101000A:0035 00000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 11258 1 f688e000 750 0 0 2 -1
3: 6506A8C0:0035 00000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 11256 1 f688e480 750 0 0 2 -1
4: 0100000A:0035 00000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 11254 1 f688f680 750 0 0 2 -1
5: 0100007F:0035 00000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 7795 1 f751e000 750 0 0 2 -1
6: 00000000:0015 00000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 7761 1 f6276000 750 0 0 2 -1
7: 0100007F:0277 00000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 8809 1 f751e900 750 0 0 2 -1
8: 00000000:0017 00000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 7762 1 f6276480 750 0 0 2 -1
9: 0100007F:03B9 00000000:0000 0A 00000000:00000000 00:00000000 00000000 0 0 7798 1 f751e480 750 0 0 2 -1
10: 6506A8C0:B499 E2079642:0050 01 00000000:00000000 00:00000000 00000000 4000 0 17689 1 c8912000 74 10 32 2 -1
11: 6506A8C0:DC81 164534D8:0050 01 00000000:00000000 00:00000000 00000000 4000 0 17668 1 c8912900 103 10 0 2 -1
12: 0100000A:DF6E 0200000A:0017 01 00000000:00000000 00:00000000 00000000 6000 0 17311 1 e89e5200 52 10 28 2 -1
13: 6506A8C0:B498 E2079642:0050 01 00000000:00000000 00:00000000 00000000 4000 0 17688 1 c8912480 73 10 28 2 -1
14: 0100000A:DF6D 0200000A:0017 01 00000000:00000000 00:00000000 00000000 6000 0 17270 1 e89e4d80 51 10 2 2 -1
15: 6506A8C0:DC80 164534D8:0050 01 00000000:00000000 00:00000000 00000000 4000 0 17667 1 c8913200 90 10 0 2 -1
wally:~/monday/2$ cat /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo: 61700 1234 0 0 0 0 0 0 61700 1234 0 0 0 0 0 0
eth0:46359757 44488 0 0 0 0 0 272 6231385 43501 0 0 0 0 0 0
eth1: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
wally:~/monday/2$
Everything lines up nicely, except for the stuff beyond the inodes.