Question: 2) The following shell script is used to count the number of positives integer, negative integer entered in command line. 1 /bin/sh 2 3

2) The following shell script is used to count the number of

 

2) The following shell script is used to count the number of positives integer, negative integer entered in command line. 1 /bin/sh 2 3 count Pos=0 4 countNeg=0 5 6 for num in $# 7 do 8 9 10 11 if (num 0 ] then elif [num

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!