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, 21.06.2019 18:20
Geneva’s manager would like to see some additional information to make sales decisions.enter a formula in cell j4 using the if function to it whether or not the item beaded earrings should go on sale. it will go on sale if its current sales rank (in cell g4) is 8th or lower. (hint: if the cell value is greater than or equal to 8, it will go on sale.)if this condition is true, the item will go on sale. (hint: the if_true value should be “yes”.)if this condition is false, the item doesn’t need to go on sale. (hint: the if_false value should be “-”.)copy the formula created in cell j4 to the range j5: j14
Answers: 2
question
Computers and Technology, 22.06.2019 06:30
Exchanging which type of data uses the least bandwidth? music photographs video voice bandwidth- the amount of data that can be moved between two points in a set time period
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
If you're using an existing powerpoint presentation that will receive new slides based on a word outline, select the a. slide that will appear after the new slides. b. first slide in the presentation. c. slide that will appear before the new slides. d. last slide in the presentation.
Answers: 2
question
Computers and Technology, 23.06.2019 17:10
Ac++an of of pi. in , pi is by : pi = 4 – 4/3 + 4/5 – 4/7 + 4/9 - 4/11 + 4/13 - 4/15 + 4/17 . ., to pi (9 ). , if 5 to pi,be as : pi = 4 - 4/3 + 4/5 - 4/7 + 4/9 = 4 – 1. + 0.8 - 0. + 0. = 3.. atoofbe to pi?
Answers: 2
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
Social Studies, 23.03.2020 09:20
question
Mathematics, 23.03.2020 09:23
question
Mathematics, 23.03.2020 09:26
question
Mathematics, 23.03.2020 09:26
Questions on the website: 13722367