I'm trying to detect Russian characters using grep, but what I have at the moment seems to be doing nothing:
echo "" | grep -Eo "/[--]/u"
The exit is not returned. Is there anything I need to do to get grep to return the result?
no way out because grep is looking for a pattern /yourletters/u
/yourletters/u
try this:
echo "" | grep -Eo "[--]*"
check here:
kent$ echo "" | grep -Eo "[--]*"