filter command arguments

view full story

http://www.unix.com – Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Execute command with integer list arguments such as myScript 8 7 2 3. Take those arguments and square all of them one by one, each iteration print out the result. At the end print out the total sum of the squared values. 2. Relevant commands, code, scripts, algorithms: Code: # Error handling if the argument list is empty or contains string instead of integers. if [ $# = 0 ] then         (HowTos)