shell script no output

xxxxxx

As I see it, the only echo you have is in a case statement "default" case - which is never "the case". Every other echo is in a function you never call, or which return before actually echo�ng anything.

xxxxxx

This script checks for the presence of certain commands and if all is well it does not throw an exception. It also sets various variables, so I think it is meant to be sourced by other scripts so that the variables can be used. It is not meant to produce output.

To source means to call it from within another script, like so:

#!/bin/sh
. ./checkscript
# Below you put your own script code that can reference 
# the variables and functions set by the check script
....

xxxxxxx