Parsing command line switch output in relevance?

(imported topic written by robbieb91)

I need to check the version of an app and the only way I’m told to do it is to run %toolname% -version. Anyone have any idea how to grab that output in a relevance statement (QnA tool)? Oh, this is in Linux too.


(imported comment written by SystemAdmin)

Pipe the version information to a file, then parse the file in your relevance. (Content of file “” contains “”)