I am having some problems with config files which have the non-breaking space chars in them.
How should I specify that character with sed so I can replace it with a space.
sed -n 's/ / /g'
examples of the errors
service named restart Stopping named: [ OK ] Starting named: Error in named configuration: named.localhost:2: unknown RR type 'SOA ' named.localhost:8: unknown RR type '@' named.localhost:9: unknown RR type '127.0.0.1' named.localhost:10: unknown RR type '::1' .....
I tried to include a line form the original offending file in this post. It does not seams to be working. Pastebin download seams to be the only tool that keeps all the original binary. http://pastebin.com/ZqT1EWbS. You should be able to copy and past the original line and have it work in your terminal.