That's what I want to do and what I have succeeded in doing. My error was $0 only gets set when using a regex, not a string match. My action was only printing out $0 instead of <line>
-----Original Message----- From: Thomas Wollner [mailto:t...@wollner-net.de] Sent: Monday, May 12, 2014 1:30 PM To: simple-evcorr-users@lists.sourceforge.net Subject: Re: [Simple-evcorr-users] return the entire line in a log file -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, why you dont use just $0 to feed the entire logline to the external program? hope it helps, best regards, Tom On 12.05.2014 18:53, Jones, Matt wrote: > I am working with a log file and want to parse parts of the line from > it using an external perl script. I know I can grab the pattern > itself but I was long for a way to grab the whole line and pipe/send > it to an external script using shellcmd or another way. > > > > Thanks > > > > Matt Jones | Monitoring Systems Engineer > > > > NOTICE: > > This message, and any attachments, contain(s) information that may be > confidential or protected by privilege from disclosure and is intended > only for the individual or entity named above. No one else may > disclose, copy, distribute or use the contents of this message for any > purpose. Its unauthorized use, dissemination or duplication is > strictly prohibited and may be unlawful. If you receive this message > in error or you otherwise are not an authorized recipient, please > immediately delete the message and any attachments and notify the > sender. > > > > ---------------------------------------------------------------------- > -------- > > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform > available Simple to use. Nothing to install. Get started now for > free." http://p.sf.net/sfu/SauceLabs > > > > _______________________________________________ Simple-evcorr-users > mailing list Simple-evcorr-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iD8DBQFTcQUCTCCRT+dccOYRAhbyAJ9SZhApNFWIz6nmhVU8VzHF5Gpr+QCg0dZi ceG2gsrpj088QDSQc58Zlkg= =V6qk -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Simple-evcorr-users mailing list Simple-evcorr-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Simple-evcorr-users mailing list Simple-evcorr-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users