2
votes
2answers
3k views

use sed to replace nbsp, 160, Hex 00a0, Octal 240, non-breaking space

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' ...
0
votes
1answer
1k views

Why is the default tab size 8 spaces? Where does this come from and why is it that big? [closed]

When I push tab in many applications like vim, OpenOffice etc., the tab size is equivalent to 8 spaces/characters. This is the default for many applications. When the default terminal size is 80 ...
4
votes
2answers
436 views

Text files on linux have “<97>” characters

When viewing a particular text file in vim or less on Linux or OS X, all the en dashes show up as highlighted "<97>" characters. What control-sequence do I need to type in order to substitute the ...