NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
stupid question on vi
Apologies for being thick, but I struggling with a really simple
problem. I have a file which has some hex characters 0x80 and higher.
I am trying to search for them so I can replace them. I can see them
and they appear, for example, like \x93 on the screen and occupy a
single character.
I have tried various incantations like
/^V\%x93
and loads of similar sequences which might work in vim, but not bog
standard vi in NetBSD.
I have used sed to do do replacements fine, but I just want to locate
some errant characters so I can see the context.
Having regularly used :%s/^V^M// to clobber carriage returns I must be
missing something obvious :-)
Dave
--
=========================
Phone: 07805784357
GnuPG Fingerprint: 9D69D60DA2CB9869
=========================
Home |
Main Index |
Thread Index |
Old Index