Run the command with its exit through cat -A. Probably either the value sor the result created endlgives you a character '\r'that usually sends the cursor back to the beginning of the line.
: '\r' s, , endl. , - , s, "high\r", .
EDIT2: cat -A ( GNU), cat -v , , od -c.