Question: you need to write a shell script that reads a number as a program input. You may assume this is a valid integer. Assuming n

you need to write a shell script that reads a number as a program input. You may assume this is a valid integer. Assuming "n" is the number entered, your program should then print n pipes ("|") side-by-side, followed by n in parenthesis, all on one line, followed by a newline. No other output should be produced.

For example (user input is in italics, script output is in bold):

ODP406 5 |||||(5) 

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 Databases Questions!