f*******h 发帖数: 1269 | 1 I have hundreds of email addresses, like
a*[email protected]
d*[email protected]
...
How to sort by domain names? THanks ahead! | b****e 发帖数: 985 | 2 sort -t@ +1
【在 f*******h 的大作中提到】 : I have hundreds of email addresses, like : a*[email protected] : d*[email protected] : ... : How to sort by domain names? THanks ahead!
| f*******h 发帖数: 1269 | 3 How about sort from right to left?
I mean first sort by edu, com, then by university name, then by deptname.
Like:
yahoo.com
cs.mit.edu
ee.mit.edu
cs.purdue.edu
...
【在 b****e 的大作中提到】 : sort -t@ +1
| h******a 发帖数: 198 | 4 I strongly u wrote ur own perl script to do that,
such task is most suitable for perl.
【在 f*******h 的大作中提到】 : How about sort from right to left? : I mean first sort by edu, com, then by university name, then by deptname. : Like: : yahoo.com : cs.mit.edu : ee.mit.edu : cs.purdue.edu : ...
|
|