query: If grep finds what it is looking for do X else Y
positive_passages.docid: 157168
positive_passages.text: How do I use a file grep comparison inside a bash if/else statement?
negative_passages.docid: 92432
negative_passages.text: Matching text using grep or awk
negative_passages.docid: 52715
negative_passages.text: easy BASH If Else
negative_passages.docid: 125988
negative_passages.text: Bash Script if condition is always true
negative_passages.docid: 110967
negative_passages.text: how to grep a variable name
negative_passages.docid: 95381
negative_passages.text: How to run grep and show x number of lines before and after the match
negative_passages.docid: 52424
negative_passages.text: Using regex inside if clause in bash
negative_passages.docid: 17129
negative_passages.text: How to use grep to search for a pattern which starts with a hyphen (-)?
negative_passages.docid: 75449
negative_passages.text: How to use grep on column?
negative_passages.docid: 19261
negative_passages.text: Match two strings in one line with grep
negative_passages.docid: 103963
negative_passages.text: What is the opposite of "grep"?
negative_passages.docid: 57226
negative_passages.text: What is the syntax for IF/ELSE in bash?
negative_passages.docid: 137070
negative_passages.text: If column matches another file, print every line with match (awk/grep)
negative_passages.docid: 56072
negative_passages.text: How do I compare two string variables in an 'if' statement in Bash?
negative_passages.docid: 75302
negative_passages.text: How to grep a date lesser than a particular date in a file
negative_passages.docid: 46239
negative_passages.text: Test if there are files matching a pattern in order to execute a script
negative_passages.docid: 127623
negative_passages.text: Can I use grep matches to execute command?