I've mostly scripted with PowerShell and vbscript and have no experience with shell scripting, so I apologize for the newbness of this question. I'm writing an extension attribute that has a line like this:
ver='/usr/sbin/jamfds -v'
echo "<result>$ver Installed</result>"
When I run that from Terminal i see that $ver has a value of "jamfds 9.32" (which is what I expect). But when I look at a computer in the JSS I only get "/usr/sbin/jamfds -v Installed" in the value field. Any thoughts?