sh-scripting: here document -EOF error prone