'found: work' could turn into 'foundork' if the directory name was '/w^H^H^H^Hork', or maybe using ^? depending on your system. I would open both scripts with vi so you can see control codes, ...