Computers and Technology

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

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 06:30, lilpeepxliltracy
This technology is used to produce high-quality documents that look good on the computer screen and in print.
Answers: 1
image
Computers and Technology, 24.06.2019 09:50, potatocow
Self contained sequences of actions to be performed are? a. expressions b. algorithms c. functions d. formulas
Answers: 1
image
Computers and Technology, 24.06.2019 17:00, harlon852
The length of time that a slide appears before automatically advancing to the next slide can be set in the timing group under the transitions tab. transition to this slide group under the transitions tab. timing group in the master slide view. transition to this slide group in the master slide view.
Answers: 1
image
Computers and Technology, 24.06.2019 20:30, glstephens04
How is energy expended in active transport
Answers: 1
Do you know the correct answer?
Write a BASH script that uses AWK and SED programs. Your script should: Have all initial statement n...

Questions in other subjects:

Konu
Mathematics, 14.11.2020 20:10
Konu
Health, 14.11.2020 20:10