> > > >For example if the line is: > > > >Field1,field2,"field 3 is a string",field4 > > > >I want $0 to be: > > > >Field1,field2,\"field 3 is a string\",field4 > > > >What would be the best way to substitute " with \" for the following config? > > > >type=SingleWithSuppress > >ptype=regexp > >pattern=.*pattern to match.* > >desc= $0 > >action=shellcmd /home/test.pl "$0" > >window=30 > > Is there some reason the perl script can't read the line from stdin so you can > use: > > action=pipe '$0' | /home/test.pl
Doh! Yes I can do it this way and it works just fine, thank you. ------------------------------------------------------------------------------ _______________________________________________ Simple-evcorr-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users
