I want to find lines in file which contain two or more given words. For example I want to find all lines in the file that contains both ‘file:’ and ‘path:’ keywords. For example line: " file: create: open: path: …" contains both ‘file:’ and ‘path:’ keywords. This things simplify a lot the process of searching in a structured document.
Can somebody help me with a simple idea?