Question: The following shell script is used to count the number of positives integer, negative integer entered in command line./bin/sh countPos=0 countNeg=0 for num in S#

The following shell script is used to count the number of positives integer, negative integer entered in command line./bin/sh countPos=0 countNeg=0 for num in S# do if [num > 0] then countPos='expr $countPos+1' elif [num
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
