-1

I need to grep a string from a file, which contains '`' character. How to achieve this? Wrapping string around " and ' doesn't work.

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Piotr
  • 173
  • 1
  • 2
  • 11

1 Answers1

0

To grep from a file which has a backtick in its name you can put a backspace in front of it. The same works for finding a string that holds the backtick. e.g.:

grep \` stupid\`filename