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

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