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 02:30
Your boss wants you to configure his laptop so that he can access the company network when he is on the road. you suggest a vpn connection to him. he is very concerned about security and asks you how secure vpn is. what do you tell him?
Answers: 1
question
Computers and Technology, 22.06.2019 14:20
Consider a byte-addressable computer with 16mb of main memory, a cache capable of storing a total of 64kb of data and block size of 32 bytes. (a) how many bits in the memory address? (b) how many blocks are in the cache? (c) specify the format of the memory address, including names and sizes, when the cache is: 1. direct-mapped 2. 4-way set associative 3. fully associative
Answers: 2
question
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place? a. the slides panel b. the center panel c. the tasks panel, under the masters pages tab d. the tasks panel, under the layouts tab
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
Need asap write a short paper describing the history and differences between six sigma, waterfall, agile, and scrum models. understanding these models can give you a good idea of how diverse and interesting it development projects can be. describe what the rationale for them is and describe their key features. describe the history behind their development. at least 400 words
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, 16.10.2019 06:00
question
Mathematics, 16.10.2019 06:00
Questions on the website: 13722367