Relevance to filter the output

Hi,

I need to grep “agent.exe” keyword using bigfix relevance from /tmp/output.txt file, once I grep I get below output

property name=“agent.exe.command” value=“/tmp/hel/way/hu”/

Using same relevance I want to trim the above output, I only want this /tmp/hel/way/hu as remaining output.

Kind help in this regards.

Try following:

if windows of operating system then "N/A" else if not exists file "/tmp/output.txt" then "No file" else if exists file "/tmp/output.txt" whose (line of it as string as lowercase contains "agent.exe" as lowercase) then preceding texts of firsts "%22/" of following texts of firsts "%22/" of lines of file "/tmp/output.txt" as string else "None"