Question: unix shell script Write a script (countstring.sh) that accepts filename (first argument) and a string (second argument) as arguments and then counts the number of
unix shell script
Write a script (countstring.sh) that accepts filename (first argument) and a string (second argument) as arguments and then counts the number of occurrences of the string in the file. NOTE: search CA in line CAdCA will derive 2, not 1.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
