procmail
[Top] [All Lists]

RE: Round Robin for email using Procmail

2000-06-29 00:56:08
After I said on the list yesterday that

        cat rrobinlist | sed > 's/^\([^,]*\),\(.*\)/\2,\1/' > rrobinlist

would not work (would null out the file after the redirect to the file),
I had private mail with the original author, Lee Howard, who showed
me that it does work for him.  I investigated, and found out that
he's right - as long as the environment setting for noclobber is
not turned on.  (I keep it turned on.)  With noclobber set, then
even "cat file | sed whatever > file" nulls out file.

I also nominated the phrase for a UUCA.  I must, with chagrin,
recall my nomination, as it was not useless at all.
"sed whatever < file > file" will not work (nulls out file), while
the original statement with cat does work (provided noclobber is
not set).

This is just to set the record straight.  I was wrong, it seems.

--
Dallman Ross <dman(_at_)nomotek(_dot_)com>
U.S. Voicemail/FAX: +1 (415) 680-2388
Residence Telephone: +49 (0) 6122 / 98 04 46
Cellular Telephone: +49 (0) 177 / 515 34 69
Fight Spam! Join CAUCE! == http://www.cauce.org/ or
http://www.euro.cauce.org/
N.B.: For no auto-reply, use <mailto:dman+noacks(_at_)nomotek(_dot_)com>



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail