Answered step by step
Verified Expert Solution
Question
1 Approved Answer
7 . Write a sed script to do the following, without using line numbers, except when referring to the first line: - Print the lines
Write a sed script to do the following, without using line numbers, except when referring to the first line:
Print the lines with continent info with:
the first semicolon ; changed to colon :
all commas removed from the numbers in the nd field
Remove the first line
Change each blank line to a line of equal signs
Your screen output should be:
Africa:;
Asia:;
Australia:;
Europe:;
North America:;
South America:;
To document step in your output file:
If you use the script utility to record your answer, there are steps:
Use the cat command to display your sed script
Then run the sed script to produce the output
If you dont use the script utility to record your answer, there are steps:
copy your sed script to the output file
run the sed script to produce the output
copy and paste both the sed command line and the output
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started