Shell - check if file contains string with newlines inside
50383
How can I search for a multiline pattern in a file?
1451
How do I remove lines of a file which contain a specific string?
105573
Filter file by line number
16672
Shell script check if file exists?
28664
How can I find all files that do NOT contain a text string?
123412
How to remove newline character between two strings \n in unix?
47527
Test whether a glob has any matches in bash
133103
Using find to find a file with a certain name and contents
156045
How do I grep for lines containing either of two words, but not both?
52424
Using regex inside if clause in bash
141213
How do I check if a filename matches a wildcard pattern
136391
Use grep to find content in files and move them if they match
153428
Bash script: check if a file is a text file
83761
Filtering text through a shell command in Emacs
17361
How to check if a string has spaces in Bash shell
47615
Awk: if pattern not found add some text at the end of file
6320
How to determine if a string contains any matches of a list of strings