search man pages

Avi Greenbury avismailinglistaccount at googlemail.com
Wed Apr 8 10:30:14 UTC 2009


Kaushal Shriyan wrote:
> Hi again
> 
> I did man bash | less -i  and typed /PARAMETER EXPANSION it said 
> "Pattern not found"

 From man less:

-i or --ignore-case
	Causes  searches  to ignore case; that is, uppercase and
	lowercase are considered identical.  This option is ignored
	if any uppercase letters appear in the  search pattern;  in
	other  words,  if  a  pattern contains uppercase letters,
	then that search does not ignore case.

-I or --IGNORE-CASE
         Like -i, but searches ignore case even if the pattern 	
	contains uppercase letters.


Since you used the -i (lower-case i) switch, and provided an argument 
with capital letters, it was a case sensitive search.
You want to either use the -I (upper-case I) switch, or provide a 
lower-case argument.


-- 
Avi Greenbury :) http://aviswebsite.co.uk




More information about the ubuntu-users mailing list