Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
-
The problem statement, all variables and given/known data:
Write a shell script program to count the ONLY the number of alphabetic characters stored in the shell variable call count. Use count='The answer (12345) you should get is 24' as you variable and value. Use the sed command as part of your solution. Put you tested program in the space below. The logic of this program is the same as the last program, but you use sed to remove the characters you don't want to count and to leave and count only the alphabetic characters that are left. -
Relevant commands, code, scripts, algorithms:
wc -m count, must use sed. -
The attempts at a solution (include all code and scripts):
count | sed wc -
Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course):
Calvin College, Grand Rapids MI, USA, Mr. Johnson, CO 142.
Note: Without school/professor/course information, you will be banned if you post here! You must complete the entire template (not just parts of it).