m@m-VirtualBox:~$ man netstat | grep "-t"
grep: invalid option -- 't'
Usage: grep [OPTION]... PATTERNS [FILE]...
Try 'grep --help' for more information.
I don't want to pass the -t option to grep. Instead I want to locate the line(s) of the man page of netstat that talk about the -t option of netstat if there are any.
I thought that enclosing the -t in quotes would be enough to make grep interpret it as a pattern and not as an option, but I was mistaken.
How to do what I want to do?