Working log parser for HPUX that get's around the buffer overflow documented in this thread
Instead of inserting the arguments into the command line section you must edit them in the body of the script. Here is an extract from the script body. Note that the $posit variable is only used if you are using the locate text in a specific position component.
$lp="Insert Path Here;
$regex="Insert String Here";
$posit="Insert Position # here";