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, 22.06.2019 03:00
How can i clip a picture to a question on the computer?
Answers: 1
question
Computers and Technology, 23.06.2019 02:00
Which software would you use to create a print design? a. illustrator b. audacity c. reaper d. dreamweaver
Answers: 2
question
Computers and Technology, 23.06.2019 17:00
In which of the following ways can using test-taking tips you? a. you can focus on the information that you need to study. b. you will see the answers to the test. c. you will study more. d. you will be less organized.
Answers: 1
question
Computers and Technology, 24.06.2019 13:50
Write a program that performs a simple n-body simulation, called "jumping leprechauns." this simulation involves n leprechauns, numberd 1 to n. it maintains a gold value g_i for each leprechaun i, which begins with each leprechaun starting out with a million dollars worth of gold, that is, g_i = 1000000 for each i = 1,. in addition, the simulation also maintains, for each leprachaun,i, a place on the horizon, which is represented as a double-precision floating point number, x_i. in each iteration of the simulation, the simulation processes the leprachauns in order. processing a leprachaun i during its iteration begins by computing a new place on the horizon for i, which is determined by the assignment:
Answers: 3
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
Computers and Technology, 06.05.2020 21:26
question
Computers and Technology, 06.05.2020 21:26
Questions on the website: 13722359