LibreOffice Version Detection (Mac OS X)

Summary
Detection of installed version of LibreOffice. The script logs in via ssh, searches for folder 'LibreOffice.app' and queries the related 'info.plist' file for string 'CFBundleVersion' via command line option 'defaults read'.
Detection
executable version check