On Thu, Aug 23, 2012 at 4:34 PM, Neil Bothwick <n...@digimed.co.uk> wrote: > On Thu, 23 Aug 2012 16:09:47 +0100, Jorge Almeida wrote: > >> The API is not documented. I _assumed_ that the >> program /path/to/logprocessor reads logs from STDIN and does whatever >> it wants with them. > > The URL you gave states that is not the case. The name of the logfile is > passed as a variable, it is up to your program to read the logfile and do > whatever it wants with the contents. > Well, it doesn't really state it. I can make it work now, but only without escaping backslash ('${... instead of '\${...). Maybe it is assumed that the program is a shell script? Moreover, the variables can be passed as arguments, not necessarily as options. All obvious once you know it, of course.
Thank you J.A.