Sed Exercises

Questions and Answers

How do you run a substitute command with sed?

Click Here for Answer

How do you use the substitute command to add additional text?

Click Here for Answer

Working with the user.csv Dataset

Using the user.csv Dataset complete the following requirements:

Note

If you need to get the user.csv Dataset again you can do so with the following command:

curl -s https://launchcodelearning.org/api/walkthrough/user?data_format=csv > user.csv

Substitute all employers by the name of Hunter Engineering for LaunchCode

Click Here for Solution

Add the additional text “: Kansas City” to all users employed at VMLY&R

Click Here for Solution

Substitute all email signatures (@example.org, @example.net, @example.com) for @launchcode.org

Click Here for Solution