Re: search man pages



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

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: [regex] case-splitting strings in unicode
    ... component words. ... In this instance I can safely use [A-Z] to represent uppercase, but what pattern should I use if I wanted it to work more generally? ...
    (comp.lang.python)
  • [regex] case-splitting strings in unicode
    ... component words. ... In this instance I can safely use [A-Z] to represent ... uppercase, but what pattern should I use if I wanted it to work more ...
    (comp.lang.python)
  • Re: Possible bug of mkisofs
    ... >>> convert the name of the files to uppercase letters? ... Check out the mkisofs manpage; ... > This options allows lower case characters to appear in iso9660 filenames. ... > So, it seems better to convert all names to uppercase, but I do not ...
    (Fedora)
  • Re: Difference between and : symbols
    ... > (in-package MY-PACKAGE) ... because uppercase is _wrong_. ... it's because lower-case letters and words are ... since most uppercase letters are essentially squares. ...
    (comp.lang.lisp)
  • Re: Customer Information --> SerialNumberTemplate
    ... Look at the maskededit topic here - that's the template for the serial ... It might do uppercase only but I haven't really looked. ... [Microsoft MVP-Windows Installer] ... Is it possible to enforce the serial number entry to uppercase letters? ...
    (microsoft.public.dotnet.framework.setup)

Loading