How would you replace the n character in a file with some xyz?

I have to agree. Please read our rules.