How to grep for \u

grep "\\\\u" *

Out of four slahes, two are being used as escape characters in the command line. So, the grep command receives only two slashes. Inside grep, one of the slashes will be used as escape character for escaping other slash.

 Tags: ,

Comments

Popular Posts