I did man maldet trying to get information about (what I can call) maldet wildcards which are represented by question marks.

I clicked / and searched \? and also for "\?", but nothing was found even though the man pages clearly contain question marks.

Given I used an escaping metacharacter and it the search still failed, I ask here why.

I should note that other patterns, like "batch" for example, were found without problems.

The reason I searched for a question mark is to find a command containing it.

  • Which pager are you using? – muru Apr 10 '17 at 1:17
  • Hmm, both on my local and remote Linux, when I did echo $pager I got an empty row as stdout (if it is even logical to call it stdout?)... – JohnDoea Apr 10 '17 at 1:50
  • I ask only because you didn't actually mention it: did you try searching without escaping the question mark at all? – zondo Apr 10 '17 at 2:37
  • Yes, at the start I didn't think of escaping it --- But still, there were no results. – JohnDoea Apr 10 '17 at 3:08
  • Try echo $MANPAGER, and let us know the result – Jacob Degeling Apr 10 '17 at 7:38

You may have problems with your pager. Try MANPAGER=less man maldet or man --pager=less maldet and see if that helps. To make it permanent, in your .bashrc put the following line: export MANPAGER=less

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.