Rework run_probe function. Set most platform variables to 'unknown'
(except for platform family, which is still assumed to be 'unix'). Use
a probes to illustrate how to set a few of the platform variables.

Fix sh and shell functions to handle multiline output.