sed error "unescaped newline inside substitute pattern"

Nikos Vassiliadis nvass9573 at
Fri Mar 13 09:22:00 PDT 2009

David Banning wrote:
> I have looked at the file in vi but the problematic characters are 
> invisible there.

The problematic character is the newline character, \n, ASCII 0xA.

And, yes vi is old but it's a few months now that it supports newlines
without problems;)


More information about the freebsd-questions mailing list