Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
5 Rollback to Revision 3
source | link

The man page for grep reads

-i, --ignore-case

      Ignore case distinctions in both the PATTERN and the input files.  (-i is specified by POSIX.)

However, if I change case on a filename, it won't work.

$ touch WHATEVER
$ grep -i pattern whatever
grep: whatever: No such file or directory

Am I missing something?


Yo. Anyone who down voted to show disagreement is a retard, this isn't meta. And anyone who down voted because they're mad at me, your lack of objectiveness is a point in my favor.

To anyone who down voted because they think the question is bad, at least that's honest. Good for you.

The man page for grep reads

-i, --ignore-case

      Ignore case distinctions in both the PATTERN and the input files.  (-i is specified by POSIX.)

However, if I change case on a filename, it won't work.

$ touch WHATEVER
$ grep -i pattern whatever
grep: whatever: No such file or directory

Am I missing something?


Yo. Anyone who down voted to show disagreement is a retard, this isn't meta. And anyone who down voted because they're mad at me, your lack of objectiveness is a point in my favor.

To anyone who down voted because they think the question is bad, at least that's honest. Good for you.

The man page for grep reads

-i, --ignore-case

      Ignore case distinctions in both the PATTERN and the input files.  (-i is specified by POSIX.)

However, if I change case on a filename, it won't work.

$ touch WHATEVER
$ grep -i pattern whatever
grep: whatever: No such file or directory

Am I missing something?

4 added 298 characters in body
source | link

The man page for grep reads

-i, --ignore-case

      Ignore case distinctions in both the PATTERN and the input files.  (-i is specified by POSIX.)

However, if I change case on a filename, it won't work.

$ touch WHATEVER
$ grep -i pattern whatever
grep: whatever: No such file or directory

Am I missing something?


Yo. Anyone who down voted to show disagreement is a retard, this isn't meta. And anyone who down voted because they're mad at me, your lack of objectiveness is a point in my favor.

To anyone who down voted because they think the question is bad, at least that's honest. Good for you.

The man page for grep reads

-i, --ignore-case

      Ignore case distinctions in both the PATTERN and the input files.  (-i is specified by POSIX.)

However, if I change case on a filename, it won't work.

$ touch WHATEVER
$ grep -i pattern whatever
grep: whatever: No such file or directory

Am I missing something?

The man page for grep reads

-i, --ignore-case

      Ignore case distinctions in both the PATTERN and the input files.  (-i is specified by POSIX.)

However, if I change case on a filename, it won't work.

$ touch WHATEVER
$ grep -i pattern whatever
grep: whatever: No such file or directory

Am I missing something?


Yo. Anyone who down voted to show disagreement is a retard, this isn't meta. And anyone who down voted because they're mad at me, your lack of objectiveness is a point in my favor.

To anyone who down voted because they think the question is bad, at least that's honest. Good for you.

3 edited title
| link

Is grep documentation about ignoring case wrong, since it doesn't ignore case in filenames?

    Tweeted twitter.com/StackUnix/status/1118846760888090625
    Mod Moved Comments To Chat
2 Improved formatting of man page excerpt and added link.
source | link
    Became Hot Network Question
1
source | link