query: Pass string with special character to grep as pattern
positive_passages.docid: 17129
positive_passages.text: How to use grep to search for a pattern which starts with a hyphen (-)?
negative_passages.docid: 144183
negative_passages.text: Command to escape a string in bash
negative_passages.docid: 30421
negative_passages.text: Escape a string for a sed replace pattern
negative_passages.docid: 92181
negative_passages.text: Search and replace a pattern containing backslashes
negative_passages.docid: 106427
negative_passages.text: grep egrep multiple-strings
negative_passages.docid: 110270
negative_passages.text: Grep: how to add an "OR" condition?
negative_passages.docid: 115539
negative_passages.text: Using grep to search texts with single quote?
negative_passages.docid: 34238
negative_passages.text: passing filename with spaces to a shell script
negative_passages.docid: 147011
negative_passages.text: Regular expression for excluding special characters
negative_passages.docid: 123344
negative_passages.text: Match exact string using grep
negative_passages.docid: 110967
negative_passages.text: how to grep a variable name
negative_passages.docid: 119229
negative_passages.text: Why does "grep '.*[s]' file" work and "grep .*[s] file" doesn't?
negative_passages.docid: 115783
negative_passages.text: Losing newline after assigning grep result to a shell variable
negative_passages.docid: 46005
negative_passages.text: Java regexp for file filtering
negative_passages.docid: 74038
negative_passages.text: How do I grep for multiple patterns on multiple lines?
negative_passages.docid: 158457
negative_passages.text: Using | pipe character from a $variable makes it treat as just another argument in bash; how to escape it?
negative_passages.docid: 117475
negative_passages.text: How to grep for contents after pattern?