starting work on some debugging utilities to help me fix dash/bash compatibility issues