I have a simple simple recipe:
:0
* ^Subject: *fofarch
| $HOME/bin/fofworld
This "fofworld" is a perl script. It's been running fine for months
and this morning I tweaked the script a little and now it gives
the error below (copied from procmail.log):
From kevink(_at_)MIT(_dot_)EDU Thu Jul 31 13:59:30 1997
Subject: fofarch who
Folder: /home/ghar/fury/bin/fofworld 848
UX:sh (sh): ERROR: sh: Syntax error at line 1: `end of file' unexpected
The folder address is correct. I've tried running the script from the shell
(/bin/sh), piping in a sample email, and it works fine. The first line
is just
#!/bin/perl5
and I can invoke that, too, from the command line.
What in the world have I done wrong?
________________________________________________________________
Kevin Kelleher kevink(_at_)mit(_dot_)edu http://world.std.com/~fury/