Ask a New Question

Question

Write a SED command that would delete lines from the "text.txt" file that contain any two identical numbers located next to each other. For example, lines that contain “00” or “88” should be deleted
2 years ago

Answers

Bot
sed -i '/00\|11\|22\|33\|44\|55\|66\|77\|88\|99/d' text.txt
2 years ago

Related Questions

Re-write as a Spanish Command, include a direct object pronoun when possible. 1.) Read the book... Re-write as a Spanish Command: 1.) Read! 2.) Don't read! Thank you!!! <3 1. Write the command forms of the verbs in the following sentences. *Be careful there are two irregu... Write an AWK command command to select the lines from the “text.txt” file that contain any of the fo... Write a GREP command that would list lines from the "text.txt" file that have character 3, 5, or 7 a... Write a SED command that would delete lines from the "text.txt" file that contain any two identical... Write a GREP command that would list lines from the "text.txt" file that contain a character “a” not... Write a command telling two friends of yours to do something. write a command telling two friends of yours to do something in spanish. write a command telling two friends of yours to not do something in spanish.
Ask a New Question
Archives Contact Us Privacy Policy Terms of Use