subject

Write a BASH script that uses AWK and SED programs. Your script should: Have all initial statement needed to execute it in BASH. Receive 2 positional parameters, check if you receive 2 positional parameters (number of positional parameters), check if 1st positional parameter is a valid name of file (file exists), if the file exist, you can assume that it holds a valid AWK program. you can assume that 2nd positional parameter is a valid name of the file with SED program (do not check for its validity). Run from within your script AWK program which name was passed to the script in the 1st positional parameter. input file to be processed by the AWK program is in_AWK. file. save the output of the AWK program to out_AWK. file. Run from within your script SED program which name was passed to the scripts in the 2nd positional parameter. input file to be processed by the SED program is in_SED. file

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 05:00
In cell b18, enter a formula to calculate the amount budgeted for meals. this amount is based on the daily meal allowance and the total travel days (# of nights+1).
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. what does it indicate when a website displays https instead of http? a. the website is secure. b. there is no secure sockets layer. c. the secure sockets layer is hidden. d. the website is not secure.
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
Which finger presses the h key on the keyboard? index finger on the left hand pinky finger on the right hand index finger on the right hand thumb on the left hand
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
In the rgb model, which color is formed by combining the constituent colors? a) black b) brown c) yellow d) white e) blue
Answers: 1
You know the right answer?
Write a BASH script that uses AWK and SED programs. Your script should: Have all initial statement n...
Questions
question
Mathematics, 04.02.2021 08:40
question
English, 04.02.2021 08:40
question
Chemistry, 04.02.2021 08:40