Why does my grep search not find any matches when i loop through the pattern, but does when I write it in manualy?
5606
What is `^M` and how do I get rid of it?
84934
Why is the end-of-line $ anchor not working with the grep command, even though the front-of-line ^ anchor is?
103324
sed - Print lines matched by a pattern range if one line matches a condition
118486
Detecting pattern at the end of a line with grep
38429
How can I use inverse or negative wildcards when pattern matching in a unix/linux shell?
83564
How to grep lines which does not begin with "#" or ";"?
119229
Why does "grep '.*[s]' file" work and "grep .*[s] file" doesn't?
47527
Test whether a glob has any matches in bash
141213
How do I check if a filename matches a wildcard pattern
140418
How does grep work?
151275
grep. Find multiple AND patterns in any order using single condition
137070
If column matches another file, print every line with match (awk/grep)
46617
What is the setting in bash for globbing, to control whether * matches dot files
19261
Match two strings in one line with grep
3196
How to use "grep" command to find text including subdirectories
17129
How to use grep to search for a pattern which starts with a hyphen (-)?
136596
grep lines starting with "1" in Ubuntu