Question

I want search one invisible character(control character, such as 0x05) using less command in Linux.
I find the character is displayed as ^E in less. I can not search it by directly using the characters "^E" . Neither ctrl+vctrl+e in VI or just search by /\0x05.

Était-ce utile?

La solution

CtrlE means something special at the beginning of the search field regardless of how it is entered. Type another non-"special" character first, then press the sequence, then remove the first character.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top