The script (edited down):
#!/bin/bash
echo Pausify
cd /Users/Ken
echo Pausify finished
The result:
kens-mbp:TerraTouchNate Ken$ tools/pausify.sh tablet.gcode tab3.gcode
Pausify
: No such file or directoryd: /Users/Ken
Pausify finished
kens-mbp:TerraTouchNate Ken$ pwd
/Users/Ken/Dropbox/TerraTouchNate
So how can cd be saying there's no /Users/Ken? I've tried with /bin/sh and /bin/bash, and with other very real directories, selfsame result. Is there some deep magic here?