You are having this problem because the script for grass.logo.sh is as follows:
d.graph << EOF
............part_of_script..........
............part_of_script..........
............part_of_script..........
............part_of_script..........
EOF
What the first line means is that "<< EOF" - Read the stuff until you
encounter "EOF.
*****************************************************************
* Nalneesh Gaur *
* 202, West Boyd, Room 302 *
* Environmental Modeling and GIS lab *
* University of Oklahoma *
* Norman, OK 73019 *
* ngaur@chief.ecn.uoknor.edu *
*****************************************************************
,