忽略大小寫

給出一個檔案 sample:

hello
Hello
HELLO_there

hello 的正常 grep 返回:

$ grep "hello" sample 
hello

使用 -i 允許忽略大小寫並匹配任何 hello:

$ grep -i "hello" sample
hello
Hello
HELLO_there