In the output of wget --help
I would like to quickly go to the place where the --header
option is explained.
I try searching with less
. man less
explains:
/pattern
Search forward in the file for the N-th line containing the pattern. N defaults to 1. The pattern is a regular expression, as recognized by the regular
expression library supplied by your system. The search starts at the first line displayed (but see the -a and -j options, which change this).
Following this recommendation I try:
wget --help | less /header
but it causes an error:
/header: No such file or directory
What is wrong?
man less | less -p 'pattern'