*BSD News Article 94044


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.alt.net!newspost1.alt.net!usenet
From: bogusckintz@noucealoha.com (Chris Kintz)
Newsgroups: comp.unix.bsd.bsdi.misc,comp.unix.misc,comp.unix.shell
Subject: Problems with "Piping" Mail Input
Date: Mon, 21 Apr 1997 13:38:50 GMT
Organization: Just Me, Myself, And I
Lines: 37
Message-ID: <336a6c8f.27955581@news.alt.net>
Reply-To: bogusckintz@noucealoha.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Newsreader: Forte Agent 1.0/32.390
X-No-Archive: yes
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:6701 comp.unix.misc:28863 comp.unix.shell:44061


I don't know much about Unix, so I figure I would go to those who are
Unix Gods for help...

I'm trying to pipe all of my incoming mail into my mail filter, which
is named "nags_filter.pl".  It's located in my /user/ckintz/filter.pl
directory.  Now, my question is this... how do I make a .forward file
to pipe all of my mail to the filter to get processed?  Since I have
to use perl5, I've been trying "|/user/ckintz/filter.pl/perl5
nags_filter.pl" (Using the "|" key, basically the "Shift-\" that is
above the ENTER key on the PC keyboard).  Using edit/pico doesn't seem
to work, as it'll either send the mail off into oblivion, or create a
file called "perl5.nags_filter.pl" in the filter.pl subdirectory and
put all the mail in there.  

I tried to create a file using "cat >.forward" and then typing
(Control-D) to get a "pipe" symbol, but it seems to cancel it.  Using
"|/user/ckintz/filter.pl/perl5 nags_filter.pl" with "cat >.forward"
caused the effects I describe above.

Help!

Log on into the shell indicates that the version of Unix installed is:
BSDI BSD/OS 2.1 Kernel #0: Tue Feb 25 15:16:04 HST 1997

Thanks.


- Chris

(UIN 726529) ("Xoxotl" in online games)

---
"Sanity calms, but madness is more interesting." 

                         --John Russell
---
E m a i l - c k i n t z - @at@ - a l o h a - .dot. - c o m  /// I  h a t e  s p a m !