Question: OPERATING SYSTEMS Shell Scripting Question 1. Write a script that takes two parametric variables: [10] ./script pattern_option number where pattern_option = {left, right, full}, number
OPERATING SYSTEMS

Shell Scripting Question 1. Write a script that takes two parametric variables: [10] ./script pattern_option number where pattern_option = {left, right, full}, number = could be any positive integer and output the pattern depending on the input parameters as shown in Fig 1. Generate error messages for invalid input parameter. left right full *** *** 1 *** ***** *** * Figure 1: Output for number=5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
