Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Pass Shell is fun (3 arguments) to the script(prog.sh) as an arguments and print the length of the arguments. #!/bin/bash function File { # think
Pass "Shell is fun" (3 arguments) to the script(prog.sh) as an arguments and print the length of the arguments.
#!/bin/bash function File { # think you are inside the file # Change Here echo $# } # Do not change anything if [ ! $# -lt 1 ]; then File $* exit 0 fi # change here # here you can pass the arguments bash prog.sh Shell is fun
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