Kundalini Gateway Email List Archives

line

To: K-list
Recieved: 2000/01/28 06:41
Subject: [K-list] |technical] Scripts for getting rid of banners...
From: Ville Vainio


On 2000/01/28 06:41, Ville Vainio posted thus to the K-list:

From: Ville Vainio <vvainioATnospamtp.spt.fi>

(If you are not connected through unix, don't read further)

The case with me is that I use procmail to save all the k-list mails to a
folder called "kundalini" in the "mail" directory (in the standard mailbox
format). I hate the banners and made a command that when run (usually before
I start reading my mails), it removes every line starting with Onelist
sponsor message, up to the beginning of next message.

The perl script (strip.pl) is here:

-----------cut here-------------------------
open (KAHVA,$ARGV[0]);
$cutting=0;
while (<KAHVA>) {
if (m/---- ONElist Sponsor -----/) {
$cutting=1;
}
if ($cutting==1 && m/^From/) { $cutting=0; }
if (!$cutting) { print; };
}
------------cut here------------------------

and the sh-script (called ks) that I use to run it is here... obviously
the script has to be edited to work with your directory structure...:

----------cut here--------------------------
#!/bin/sh
perl /home/vvainio/bin/strip.pl /home/vvainio/mail/kundalini >/home/vvainio/kt
rm /home/vvainio/mail/kundalini
mv /home/vvainio/kt /home/vvainio/mail/kundalini
----------cut here--------------------------

Before starting to read the k-mails, I just run "ks" and voila, I don't
have to see the annoying banners & unsubsctiption guidelines anymore.

Don't try these unless you know what you are doing...

Ville Vainio - vvainioATnospamtp.spt.fi http://www.tp.spt.fi/~vvainio
 Wild geese have no intention to cast a reflection
 Water has no mind to assume their form

--------------------------- ONElist Sponsor ----------------------------

Get what you deserve with NextCard Visa. Rates as low as 2.9 percent
Intro or 9.9 percent Fixed APR, online balance transfers, Rewards
Points, no hidden fees, and much more! Get NextCard today and get the
credit you deserve! Apply now! Get your NextCard Visa at
<a href=" http://clickme.onelist.com/ad/NextcardCreative2CL ">Click Here</a>

------------------------------------------------------------------------

Community email addresses:
  Post message: Kundalini-GatewayATnospamonelist.com
  Subscribe: Kundalini-Gateway-subscribeATnospamonelist.com
  Unsubscribe: Kundalini-Gateway-unsubscribeATnospamonelist.com
  List owner: Kundalini-Gateway-ownerATnospamonelist.com

Shortcut URL to this page:
  http://www.onelist.com/community/Kundalini-Gateway

blank
DISCLAIMER!

Home | Archive Index | Search the archives | Subscribe
blank
K.  List FAQ | Kundalini FAQs | Signs and  Symptoms | Awakening Experiences | K. list Polls | Member Essays | Meditations | List Topics | Art Gallery | Cybrary | Sitemap | Email the moderators.
line
  • Feel free to submit any questions you might have about what you read here to the Kundalini mailing list moderators, and/or the author (if given). Specify if you would like your message forwarded to the list. Please subscribe to the K-list so you can read the responses.
  • All email addresses on this site have been spam proofed by the addition of ATnospam in place of the at symbol symbol.
  • All posts publicly archived with the permission of the people involved. Reproduction for anything other than personal use is prohibited by international copyright law. ©
  • This precious archive of experiential wisdom is made available thanks to sponsorship from Fire-Serpent.org.
  • URL: http://www.kundalini-gateway.org/klist/k2000/k20a00532.html