Sed Exercises
Questions and Answers
How do you run a substitute command with sed
?
How do you use the substitute command to add additional text?
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
Add the additional text “: Kansas City” to all users employed at VMLY&R
Substitute all email signatures (@example.org, @example.net, @example.com
) for @launchcode.org