The let statement is not required and not supported in the dash. Replaced bash substring expression with the awk away.
Merge remote-tracking branch 'upstream/master'
dash compatibility: removed let, replaced error and substring behavior
removed debug statements. using absolute paths now for loading the config files.
Replaced the == operator and used = for compatibility with dash.
Removed debugging statement.
Merge pull request #1 from marco-jantke/master

Ensure dash compatibility.