Demo entry 6328648

search inside a manpage

   

Submitted by mans on Nov 28, 2016 at 19:55
Language: Fish. Code size: 152 Bytes.

function mans -d 'Search manpage given in argument 1 for term given in argument 2'
  man $argv[1] | grep -iC7 --color=always $argv[2] | less -RX
end

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).