From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 32720 invoked from network); 11 Dec 1996 01:48:11 -0000 Received: from salyko.cube.net (root@194.97.64.2) by mail2.redhat.com with SMTP; 11 Dec 1996 01:48:11 -0000 Received: from goldfish(really [194.97.65.88]) by salyko.cube.net via sendmail with esmtp id for ; Wed, 11 Dec 1996 02:44:06 +0100 (MET) (Smail-3.2 1996-Jul-4 #1 built DST-Sep-18) Received: (qmail 10789 invoked from smtpd); 10 Dec 1996 20:44:44 -0000 Received: from localhost (127.0.0.1) by softdnserror with SMTP; 10 Dec 1996 20:44:44 -0000 Date: Tue, 10 Dec 1996 21:43:22 +0100 (MET) From: Hans Zoebelein Reply-To: Hans Zoebelein To: blinux-list@redhat.com Subject: Re: to much list info In-Reply-To: <199612091749.JAA15130@eos.arc.nasa.gov> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII List-Id: Removing the disclaimer at the end of each mail is really easy under LINUX/UNIX using the command "grep" The following script file will do the work for you. Save this mail as a file called "stripme". Edit the file and remove all stuff before and after "---snip-snip---". (Remove line "---snip-snip---" also). Copy "stripme" into the directory where your mail file sits ( normally /home/YOUR_NICKNAME/mail ) Change the variable MAILFILE to the real name of your mail file (normally "saved-messages"). Make "stripme" executable: "chmod uog+x stripme" Fire up "stripme" and the disclaimer is gone (but hopefully not your mail file :) A backup of your original mail file will saved in saved-messages.. ----Snip-Snip-Snip---- #!/bin/sh # #stripme # # remove some lines from $MAILFILE # put this file into your directory, where your # mail file sits. # adapt MAILFILE to your real mailbox file name MAILFILE=saved-messages MAILFILE_NEW=saved-messages.new MAILFILE_BAK=saved-messages.$$ # all lines containing these strings will vanish REMOVE_ME1="Blinux software archive at" REMOVE_ME2="Blinux web page at" REMOVE_ME3="To unsubscribe send mail to" REMOVE_ME4="with subject line:" # if your box creashes during work... cp $MAILFILE $MAILFILE_BAK cat $MAILFILE \ | grep -v "$REMOVE_ME1" \ | grep -v "$REMOVE_ME2" \ | grep -v "$REMOVE_ME3" \ | grep -v "$REMOVE_ME4" > $MAILFILE_NEW mv $MAILFILE_NEW $MAILFILE ----Snip-Snip-Snip---- Hans On Mon, 9 Dec 1996, Jim Stevenson wrote: > Hi. > > I save many of the list messages to get a base of helpful data for when I > transission to lynnex. > > Could we illiminate the subscription and unsubscribe from the end of each message? > > Those who are on the list should already know this, so repeating it just > wastes disk space. > > Thanks much >