"Bernie Cosell" <[EMAIL PROTECTED]> wrote:
>No, actually... unless I"m missing something subtle in the sort args, the
>list is sorted by *host*, and so all the mail.* hosts are lumped
>together, regardless of domain, etc. rather than really sorting 'by
>domain' which usually means dot-segment-right-to-left, so all the '.au's
>are at the top, the '.edu's toward the middle and the '.za's at the end,
>all of the *.hp.com and *.microsoft.com addresses sorted together, etc.
>
>It isn't all that easy to do.
It's easy if you've got "rev", which reverses the order of characters
in a line:
rev <addressfile | sort | rev
-Dave