How do you grep non ascii characters?

How do you grep non ascii characters?
Answer
The -P option in my grep allows the use of xdd escapes in character classes to accomplish what you want. The easy way is to define a non-ASCII character… as a character that is not an ASCII character. Add a tab after the ^ if necessary.
 

Tìm kiếm

Back
Top