0

What's the command to grep all lines in subdirectories with \\ (together)? I tried grep -r "\\\\" . but that also catches single \ and I don't know why it would.

Carbon
  • 155
  • 1
  • 11

1 Answers1

1

Put single quotes around the four backslashes so that bash doesn’t eat two of them.

Spiff
  • 101,729
  • 17
  • 175
  • 229