[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

ipp: documentation bug



Saluton,

I'm still using 2.0.1, and on ipp's man page I read:

       -P path
            This sets up one or more prolog program path which
            are applied to each single input file just before
            real processing starts. Use this to pre-process the
            data. The program gets the input filename to process
            as its first argument. When it wants to filter it it
            has to overwrite the file.

The last sentence is clearly wrong, as ipp calls the prolog via:

    #   apply prolog filters
    foreach $p (@opt_P) {
        $rc = system("$p <$tmpfile >$tmpfile.f && mv $tmpfile.f $tmpfile 2>/dev/null");
        &error("Prolog Filter `$p' failed") if ($rc != 0);
    }

So instead one might write "The filter has to accept on STDIN and
write to STDOUT."

Bye,

Albert.

-- 

--------------------------------------------------------------------------
Albert Reiner                                   <areiner@tph.tuwien.ac.at>
Deutsch       *       English       *       Esperanto       *       Latine
--------------------------------------------------------------------------
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com