Bill Allombert on Thu, 23 Dec 2021 19:24:17 +0100


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

Re: Use gp-runtime as a filter


On Thu, Dec 23, 2021 at 10:39:38AM +0100, Ruud H.G. van Tol wrote:
> 
> I'm very used to using CL-tools as filter,
> reading from stdin and writing to stdout.
> 
> Is that easy to achieve with the current gp?
> 
> I didn't find details about it.
> 
> Would also be nice if there was a minimal "gpf" variant,
> that only pre-loads/pre-processes what is requested,
> so a script can start with
>   #!/usr/local/bin/gpf
> and by default reads lines from stdin,
> and prints to stdout.

You can use 'gp -q -f -D output=0'

Cheers,
Bill.