What does "~B" represent in a vi file?

63 Views Asked by At

In vi, I have a text file which shows several blue ~B characters. I've spent a few hours trying to find any references to what ~B represents in a vi file but have not found anything.

I know that a ^ preceding a letter represents a control character. ^H represents the hex byte 0x08 for Backspace. I'm familiar with using Ctrl V to enter or search for various control characters but I have no idea what the ~B represents or how to design a search and replace command to delete them.

To delete control characters from the entire file, I would use, for example, :%s/^H//g, using Ctrl V then hitting the backspace key to get the 0x08 byte. Doing that for ~B doesn't work.

0

There are 0 best solutions below