Closed smithjackson35 closed 5 years ago
pg. 111 - stdin and stdout
I am trying to construct the egrep.py file but when trying to set the regex variable = sys.argv[1] I get the error below
IndexError: list index out of range
This issue was resolved when I typed the script into the editor and ran it from the command line.
pg. 111 - stdin and stdout
I am trying to construct the egrep.py file but when trying to set the regex variable = sys.argv[1] I get the error below
IndexError: list index out of range