Great Circle Associates Majordomo-Users
(April 1995)

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: large volumes?
From: "Jonathan M. Bresler" <jmb @ kryten . atinc . com>
Date: Wed, 19 Apr 1995 09:49:06 -0400 (EDT)
To: Marko Toivanen <mtoivane @ cc . joensuu . fi>
Cc: Deborah A Hamilton <debbie @ qsun . ho . att . com>, splyaski @ cmp . com, majordomo-users @ GreatCircle . COM
In-reply-to: <>

On Wed, 19 Apr 1995, Marko Toivanen wrote:

> Responding to a previous article by Deborah A Hamilton:
> * Also - sorting the large mailing lists by made
> * our mailer more efficient.
> So, anybody got a sort program that would sort beginning from the end of
> each line where the most significat domain lies, and would also lock the
> list file to prevent majordomo using while sorting?

	here is a bourne shell  script, change the first line to use your 
mail lists directory.  this process all lists as one.   no locking sorry, 
but it is fast, the odds are in your favor that you wont need locking.

	if you want to do one list only remove the "# <===" line and 
cat the list to the script  'cat <listname> | sh <script>

( cd /home/mail/lists ; ls | fgrep -v . | xargs cat ) |	   # <====
sed '
/[      ]*(.*).*$/s///
' | tr '[A-Z]' '[a-z]' | rev | sort -u | rev | awk '
{ printf ("%70s\n",$1); }

	now if you were to reorder each list based upon the output of the 
above shell script, then every user at site would be served 
before going to the next site.   hmmmm....could be good ;)

Jonathan M. Bresler	| Analysis & Technology, Inc.  
						| 2341 Jeff Davis Hwy
play go.					| Arlington, VA 22202
ride bike. hack FreeBSD.--ah the good life	| 703-418-2800 x346

Indexed By Date Previous: Creating and maintaining digests
From: (Nina Sweeney)
Next: Re: local list protection & rcs
From: Marko Toivanen <>
Indexed By Thread Previous: Re: large volumes?
From: Marko Toivanen <>
Next: Re: large volumes?
From: (Dave Wolfe)

Search Internet Search