Question
3. Working with sed on the command line can be tedious and frustrating. Try the following but, put the commands in a text file first.
3. Working with sed on the command line can be tedious and frustrating. Try the following but, put the commands in a text file first. Recall that the method is to put the sed command(s) in the text file (e.g. sedfile) and then to issue the command sed f sedfile chin4, where chin4 is the file to edit. Do 2b, 2l, 2o, 2q using files instead of the command line. b. Append ten caret symbols and a blank line underneath line 1 of the file. l. Delete all lines containing a period. o. From lines 10 to the end of the file, replace every occurrence of e with E. q. Replace every occurrence of . in the file with ....
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