Grep and Python
I need a way of searching a file using grep via a regular expression from the Unix command line. For example when I type in the command line: I need the regular expression ‘RE’ to be searched in the file and print out the matching lines. Here’s the code I have: But when I enter a word … Read more