Hi,
I am a newbie here. My problem is that i have a Chinese character string mixed with some ascii characters and I want to remove all the ascii chars from it and get back only the chinese characters. The command - awk '{ gsub(/[\041-\177]/, ""); printf $0 }' actually removes all the ascii...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.