1
vote
no-ignore-case in grep command
Really useful.
Example, you have this alias:
alias mygrep='grep -i'
or this function:
mygrep () {
grep -i "${@}"
}
Test:
$ echo -e 'egg\nEGG' | mygrep egg
egg
EGG
$ echo -e 'egg\nEGG' |...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
grep × 1113linux × 438
bash × 295
command-line × 170
regex × 147
sed × 121
awk × 103
unix × 98
find × 91
macos × 51
shell × 48
search × 48
windows × 35
ubuntu × 32
terminal × 29
xargs × 29
pipe × 28
shell-script × 22
tail × 20
vim × 19
cygwin × 19
ack × 18
bash-scripting × 15
ps × 15
egrep × 15