On 09/06/17 17:39, Junio C Hamano wrote: > Phillip Wood <phillip.wood@xxxxxxxxxxxx> writes: > >> I'm confused by this as my script does not use the escape sequence "\r" >> out of portability concerns. It has a literal carriage return as you get >> from typing Ctrl-Q Ctrl-M in emacs or Ctrl-V Ctrl-M in bash ... > > I think the worry is that some implementations of sed may be unhappy > to see these raw control characters in the sed script. > Ah, I'd misunderstood the problem, thanks for taking the time to point that out. I'll redo the tests as Johannes suggested Thanks Phillip