Write a program find that searches all files specified on the command line and printsout all lines containing a keyword. For example, if you callfind Tim report.txt address.txt homework.cppthen the program might printreport.txt: discussed the results of my meeting with Tim Taddress.txt: Torrey, Tim|11801 Trenton Court|Dallas|TXaddress.txt: Walters, Winnie|59 Timothy Circle|Detroit|MIhomework.cpp: Time now;The keyword is always the first command-line argument
Step 1 of 2
Program to find that searches all files specified on the command line and prints out all lines containing a keyword