To fix a bug in Less' command by noting no. of parameters
This question is based on this thread. The code function man() { man "$1" > /tmp/manual; less /tmp/manual } Problem: if I use even one option, the command does not know where is the wanted-manual For instance, man -k find gives me an error, since the reference is wrong. The command reads -k as the manual. My attempt ...