1
I have a list of Chinese names, some of them have 2 characters, others may have more or less, like following:
I want to use some command lines tools, to find the last 2 characters of each. If doesn't 2 characters, ignore it.
The result will be:
How to do it with grep
/awk
/sed
, or other tools?
Updated:
The characters are in gist now:
2@stackoverflow, can you stop thinking I'm spamming just because I've input some Chinese characters ?! – Freewind – 2015-11-05T10:24:36.767
Can you paste the actual input? We can't test our solutions against images. – choroba – 2015-11-05T10:26:04.057