Problem with Shell Script vs. Terminal (Git, Beyond Compare)

Which reminded me to post these: