ack-grep: chars escaping

后端 未结 4 669
借酒劲吻你
借酒劲吻你 2021-01-01 13:04

My goal is to find all \"\" occurrences with ack. How can I do that?

ack \"

Doesn\'t work. Please tell me how ca

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-01 13:20

    Rather than trying to remember which characters have to be escaped, you can use -Q to quote everything that needs to be quoted.

提交回复
热议问题