Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

14
  • 4
    GNU less doesn't work like that for me (i.e., it is by default case sensitive). Are you sure it's not aliased? What options are you using with ps to check that? Commented Feb 22, 2014 at 14:05
  • 3
    Hmm. Never noticed this but you're absolutely correct. Searching for FOO finds just FOO, but searching for foo finds foo & FOO. Even with the -i and -WiNS. Commented Feb 22, 2014 at 14:15
  • @goldilocks With ps I get either no (command less) options or -WNS so I am quite sure this is not a ps problem hiding -i/-I. less seems to have not even the possibility of a config file which could intervene here. Commented Feb 22, 2014 at 14:20
  • @slm "even with -i" is kind of funny because -i is supposed to do exactly that. The interesting question is: Does your less match FOO for foo without -i? Commented Feb 22, 2014 at 14:21
  • 1
    Nope it works the other way. FOO only matches FOO. Seems like a bug to me. Commented Feb 22, 2014 at 14:24