On Wed, 2003-06-18 at 14:14, mrobinso@fpkc.com wrote:
> By default, sort sorts from left to right, not by TLD first. You can tell sort to sort by field using
> a delimiter, a period for example, but not all of the domains will have the same number of
> fields (sub-domains). I want "a.really.really.really.long.domain.somewhere.com" to be sorted
> adjacent to and after "somewhere.com", not way up at the top. If you can come up with a
> set of options for sort to make it do this, that'd be great. I haven't been able to.
>
> Mark
>
>
> ----- Original Message -----
> > > Someone must have made a tool to do this, but I can't find one. I could
> > probably cobble
> > > something together in Perl, but I don't want to reinvent the wheel. All
> I
> > get from
> > > web searches are mailing list programs and domain registration tools.
>
> /usr/bin/sort?
So you need something that sorts on the 2nd to last field, delimited
by period.
-- +-----------------------------------------------------------+ | Ron Johnson, Jr. Home: ron.l.johnson@cox.net | | Jefferson, LA USA http://members.cox.net/ron.l.johnson | | | | "Oh, great altar of passive entertainment, bestow upon me | | thy discordant images at such speed as to render linear | | thought impossible" (Calvin, regarding TV) | +----------------------------------------------------------- ___________________ Nolug mailing list nolug@nolug.orgReceived on 06/18/03
This archive was generated by hypermail 2.2.0 : 12/19/08 EST