0

How do I use grep to search for "-f". it seems to interpret this as an option in the grep command rather than an actual string.

 arecord --help | grep "-f"

I want to be able to search through the argument options for the arecord command

A.Davies
  • 81
  • 1
  • 6
  • 1
    Does this answer your question? [How can I grep for a string that begins with a dash/hyphen?](https://stackoverflow.com/questions/2427913/how-can-i-grep-for-a-string-that-begins-with-a-dash-hyphen) – Sundeep Oct 31 '19 at 15:13
  • yes it does, thank you – A.Davies Oct 31 '19 at 17:04

0 Answers0