-2

Consider:

Enter image description here

If searching using ?cm02csdate -i, it fails:

Enter image description here

But if searching using ?CM02CSDATE, it can be found:

Enter image description here

Enter image description here

I searched the man page. It also said using -i to search case insensitive, as the following shows:

Enter image description here

So why does it fail when I use ?cm02csdate -i?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
user1169587
  • 1,104
  • 2
  • 17
  • 34
  • Does this answer your question? [How do you do a case insensitive search using a pattern modifier using less?](https://stackoverflow.com/questions/16828/how-do-you-do-a-case-insensitive-search-using-a-pattern-modifier-using-less) – m19v Sep 16 '22 at 12:13
  • 2
    Please review *[Why not upload images of code/errors when asking a question?](https://meta.stackoverflow.com/questions/285551/)* (e.g., *"Images should only be used to illustrate problems that* ***can't be made clear in any other way,*** *such as to provide screenshots of a user interface."*) and [do the right thing](https://stackoverflow.com/posts/73744517/edit). Thanks in advance. – Peter Mortensen Nov 30 '22 at 14:23

1 Answers1

0

The -i flag should be given to less. I.e. less -i <filename> or some_program | less -i.

treuss
  • 1,913
  • 1
  • 15