What does Linux less -i or –ignore-case and -I or –IGNORE-CASE options do?

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. Less -I or –IGNORE-CASE like -i, but searches ignore case even if the pattern contains uppercase letters.