We have a plain-text file named persons-of-interest.txt. It…
We have a plain-text file named persons-of-interest.txt. It contains several fields, each separated from the next by a single space. Within each field, no space character is used. The first field is a first name, the 2nd a last name, and the 3rd an optional variable-length integer called the Jedi Extensive Directory Identifier (J.E.D.I.). Another file, named mc.txt contains only two fields. The first one is a J.E.D.I. number, and the second a decimal number representing the midi-chlorian count of the corresponding individual. Provide command lines allowing us to display only the last name and midi-chlorian count of any individual who has a J.E.D.I. number. Provide another command line allowing us to display only the first and last name of anyone who does not have a J.E.D.I. number.