Question
Part 1 Requirements Write a shell script that accepts exactly 1 argument which must be a positive integer. The script will print a comma separated
Part 1 Requirements
Write a shell script that accepts exactly 1 argument which must be a positive integer. The script will print a comma separated list of integers, all on the same line, starting with the entered value and decreasing to 1.
The last printed value should not be followed by a comma.
The script should also be to handle the following errorsituations: o incorrect number of arguments o non-positive arguments (dont worry about trying to handle non-integer arguments)
The script must be able to execute on the cs.franklin.edu machine
The script file name must be: printnum.sh
The script must be located in $HOME/itec400/homework
Make sure the permissions on the your itec400 directory are 705 Make sure the permissions on your script are 705
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started