I have to find the following patterns in a text file
\xc2d d\xa0 \xe7 \xc3\ufffdd \xc3\ufffdd \xc2\xa0 \xc3\xa7 \xa0\xa0 I start with finding \x occurrences and do this
grep "\\x" *.log | more and nothing returns, is this query correct?
I have to find the following patterns in a text file
\xc2d d\xa0 \xe7 \xc3\ufffdd \xc3\ufffdd \xc2\xa0 \xc3\xa7 \xa0\xa0 I start with finding \x occurrences and do this
grep "\\x" *.log | more and nothing returns, is this query correct?
I think you'll want to use single quotes instead of double quotes.
grep '\\x' *.log | more
Your shell is likely stripping that first backslash as part of the processing it does for strings in double quotes, which grep needs.