query: How to use grep to search for a line with one of two words but not both?
positive_passages.docid: 156045
positive_passages.text: How do I grep for lines containing either of two words, but not both?
negative_passages.docid: 151275
negative_passages.text: grep. Find multiple AND patterns in any order using single condition
negative_passages.docid: 14288
negative_passages.text: Replace a word with multiple lines using sed?
negative_passages.docid: 50485
negative_passages.text: Find files that contain a string and do not contain another
negative_passages.docid: 106334
negative_passages.text: extract value between two search patterns on same line
negative_passages.docid: 158360
negative_passages.text: How can I "grep" patterns across multiple lines?
negative_passages.docid: 100897
negative_passages.text: How to use grep/awk/unix to match all lines from one file in another file, even if they are duplicates
negative_passages.docid: 126833
negative_passages.text: Is there any alternative to grep's -A -B -C switches (to print few lines before and after )?
negative_passages.docid: 51330
negative_passages.text: How do I search for a process by name without using grep?
negative_passages.docid: 102049
negative_passages.text: How to delete all lines that do NOT contain a certain word in Vim?
negative_passages.docid: 158024
negative_passages.text: How to run grep on a single column?
negative_passages.docid: 26517
negative_passages.text: Is there a tool to get the lines in one file that are not in another?
negative_passages.docid: 99629
negative_passages.text: How to combine two grep statements and display their results together?
negative_passages.docid: 107158
negative_passages.text: grep with logic operators
negative_passages.docid: 69593
negative_passages.text: Find files with matched whole lines from a file
negative_passages.docid: 102447
negative_passages.text: grep without showing path/file:line
negative_passages.docid: 92432
negative_passages.text: Matching text using grep or awk