Have you tried this?

SET FIELDS:  process_char to "echo " + $Emain Body$ + "  | /home/
aramey/html2text-0.003/html2text.pl"

And then simply doing the PROCESS as:

$PROCESS$ $process_char$

Steve

On Dec 11, 10:44 am, "Ramey, Anne" <[email protected]> wrote:
> I am getting an exit code: 127 set fields action error when trying to use the 
> following in a set fields action to strip HTML from an email body:
> $PROCESS$ "echo ""$Email Body$"" | /home/aramey/html2text-0.003/html2text.pl "
>
> The process works fine when I run it from the command line:
> btw, it does work from the command line:
> r...@ncc db#  echo "<h2>Test header</h2><br>test<br>> Anne Ramey
> > test" | /home/aramey/html2text-0.003/html2text.pl
>
> Starting /home/aramey/html2text-0.003/html2text.pl ...
> Test header
> ===========
>
> test
> Anne Ramey test
>
> Anyone know what exit code 127 means? or see any syntax errors?  I can't find 
> the set field error exit codes anywhere in the documentation.
>
> AR System 7.0.1 Patch 5, ITSM 7.0.03 patch 7 on Red Hat Linux.  Oracle 
> backend.
>
> Thanks,
>
> Anne Ramey
> ***********************************
> E-mail correspondence to and from this address may be subject to the North 
> Carolina Public Records Law and may be disclosed to third parties only by an 
> authorized State Official.
>
> _______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives atwww.arslist.org
> Platinum Sponsor:www.rmsportal.comARSlist: "Where the Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to